mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-30 19:29:57 +00:00
added flash message for logout
This commit is contained in:
@@ -29,6 +29,7 @@ def login():
|
||||
@login_required
|
||||
def logout():
|
||||
logout_user()
|
||||
flash("Succesfully logged out")
|
||||
return redirect("/")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user