Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd81411 commit 13033c5Copy full SHA for 13033c5
python-flask-rest-api-login-logout/app.py
@@ -3,4 +3,5 @@
3
4
app = Flask(__name__)
5
app.secret_key = "secret key"
6
-CORS(app)
+app.config['PERMANENT_SESSION_LIFETIME'] = timedelta(minutes=10)
7
+CORS(app)
0 commit comments