mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-08 08:33:45 +01:00
Fix 'Remember Me'
This commit is contained in:
parent
2ae4a2ed5a
commit
9ec91fc52d
@ -61,7 +61,7 @@ def handle_login(form):
|
||||
url_for("users.profile", username=user.username))
|
||||
db.session.commit()
|
||||
|
||||
login_user(user)
|
||||
login_user(user, remember=form.remember_me.data)
|
||||
flash("Logged in successfully.", "success")
|
||||
|
||||
next = request.args.get("next")
|
||||
|
@ -5,12 +5,16 @@ Flask-Login ~= 0.5
|
||||
Flask-Menu ~= 0.7
|
||||
Flask-Migrate ~= 2.3
|
||||
Flask-SQLAlchemy ~= 2.3
|
||||
Flask-Babel
|
||||
Flask-Babel~=1.0
|
||||
Flask-Mail~=0.9
|
||||
Flask-WTF~=0.14.3
|
||||
GitHub-Flask ~= 3.2
|
||||
SQLAlchemy-Searchable ~= 1.1
|
||||
|
||||
markdown ~= 3.1
|
||||
bleach ~= 3.1
|
||||
passlib ~= 1.7
|
||||
|
||||
|
||||
beautifulsoup4 ~= 4.6
|
||||
celery ~= 4.4
|
||||
|
Loading…
Reference in New Issue
Block a user