mirror of
https://github.com/wassname/flask-security.git
synced 2026-07-20 12:20:47 +08:00
Fix build
This commit is contained in:
@@ -42,8 +42,6 @@ def login_user(user, remember=True):
|
||||
return False
|
||||
|
||||
if user.authentication_token is None:
|
||||
from .tokens import generate_authentication_token
|
||||
|
||||
user.authentication_token = generate_authentication_token(user)
|
||||
|
||||
if remember:
|
||||
|
||||
Reference in New Issue
Block a user