소스 검색

Update registro-run.py

부모
커밋
f6c917b26e
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3
    1
      registro-run.py

+ 3
- 1
registro-run.py 파일 보기

6
 
6
 
7
 app = Flask(__name__)
7
 app = Flask(__name__)
8
 
8
 
9
+secret = os.open("secret").read()
10
+print(secret)
11
+
9
 @app.route('/', methods=['GET', 'POST'])
12
 @app.route('/', methods=['GET', 'POST'])
10
 def index():
13
 def index():
11
 #     return "Hello, World!"
14
 #     return "Hello, World!"
12
     print(session)
15
     print(session)
13
-    print(app.secret_key)
14
     auth = Auth(session)
16
     auth = Auth(session)
15
     if not auth.checkAuth():
17
     if not auth.checkAuth():
16
         return render_template("login.html")
18
         return render_template("login.html")