mirror of
https://github.com/Llloooggg/Dyxless.git
synced 2026-03-06 02:36:24 +03:00
Добавлено всплывающее уведомление об успешном выходе
This commit is contained in:
@@ -200,4 +200,5 @@ def login():
|
|||||||
@auth.route("/logout")
|
@auth.route("/logout")
|
||||||
def logout():
|
def logout():
|
||||||
logout_user()
|
logout_user()
|
||||||
|
flash("Вы успешно вышли!", "is-success")
|
||||||
return redirect(url_for("main.index"))
|
return redirect(url_for("main.index"))
|
||||||
|
|||||||
Reference in New Issue
Block a user