错误处理页面进行更新

This commit is contained in:
wojiaoyishang
2025-01-24 19:13:41 +08:00
parent 3c4377915b
commit 2ee703d2eb
5 changed files with 84 additions and 8 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ def get_captcha():
@bp.get('/login')
def login():
if current_user.is_authenticated:
return redirect(url_for('system.index'))
return redirect(url_for('index.index'))
return render_template('system/login.html')