Merge pull request #3357 from alphagov/flask-login

upgrade flask_login to 0.5.0
This commit is contained in:
Leo Hemsted
2020-03-09 16:07:47 +00:00
committed by GitHub
5 changed files with 11 additions and 6 deletions

View File

@@ -139,6 +139,7 @@ class User(JSONModel, UserMixin):
def login(self):
login_user(self)
session['user_id'] = self.id
def sign_in(self):