This commit is contained in:
parent
b1bca90056
commit
5f192f6dfa
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ def login() -> str | Response:
|
||||||
"""login page"""
|
"""login page"""
|
||||||
if Config.is_logged():
|
if Config.is_logged():
|
||||||
flash("already logged.")
|
flash("already logged.")
|
||||||
return redirect("/")
|
return redirect(Config.base)
|
||||||
|
|
||||||
return render_template(
|
return render_template(
|
||||||
"login.html", config=Config, page_name=name, login_page=True, print=print
|
"login.html", config=Config, page_name=name, login_page=True, print=print
|
||||||
|
|
Loading…
Reference in a new issue