diff options
| author | stilbruch <stilbruch@protonmail.com> | 2022-04-23 14:26:59 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonmail.com> | 2022-04-23 14:26:59 -0500 |
| commit | 316edff9e6b90ab310978c10adbeffa87d18e746 (patch) | |
| tree | 2c36e998122e39911bfb458ed1671d6f6e3ae041 /app/routes/user.py | |
| parent | 404bba9d518271533d5e4c83dabd8541726bf248 (diff) | |
| download | Strengthy-316edff9e6b90ab310978c10adbeffa87d18e746.tar.xz Strengthy-316edff9e6b90ab310978c10adbeffa87d18e746.zip | |
Fix workout deleting option
Diffstat (limited to 'app/routes/user.py')
| -rw-r--r-- | app/routes/user.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/routes/user.py b/app/routes/user.py index 4568d97..d218738 100644 --- a/app/routes/user.py +++ b/app/routes/user.py @@ -24,6 +24,7 @@ def login(): return render_template('user/login.html', form=form) @app.route("/logout", methods=['GET', 'POST']) +@login_required def logout(): logout_user() return redirect('/') |
