暂存-说明文档(部分)
This commit is contained in:
@@ -35,6 +35,9 @@ def login():
|
||||
|
||||
|
||||
if user and check_password_hash(user.password_hash, password):
|
||||
# Clear old password check flag
|
||||
session.pop('pwd_check_done', None)
|
||||
session.pop('must_change_password', None)
|
||||
login_user(user, remember=remember)
|
||||
session_token = str(uuid.uuid4())
|
||||
# 尝试获取反向代理传递的真实 IP
|
||||
|
||||
Reference in New Issue
Block a user