Добавлено всплывающее уведомление об успешном выходе

This commit is contained in:
2021-08-15 00:35:04 +03:00
parent ff792aedc1
commit 423276c67a

View File

@@ -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"))