Jose R Ortiz Ubarri преди 4 години
родител
ревизия
f6c917b26e
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3
    1
      registro-run.py

+ 3
- 1
registro-run.py Целия файл

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