diff options
author | Frederick Muriuki Muriithi | 2024-08-08 09:55:00 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-08-08 09:55:00 -0500 |
commit | 97363a7c94e6fd5098119c5d6b1fd34fdf82b161 (patch) | |
tree | 18f24492c210eaf98fe1280973b987953a72c464 /gn_auth/auth | |
parent | 342a2d005cc31290f5bdef88f01521833e70caa5 (diff) | |
download | gn-auth-97363a7c94e6fd5098119c5d6b1fd34fdf82b161.tar.gz |
Bug: Prevent fall-through to verification if code is expired.
Diffstat (limited to 'gn_auth/auth')
-rw-r--r-- | gn_auth/auth/authorisation/users/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gn_auth/auth/authorisation/users/views.py b/gn_auth/auth/authorisation/users/views.py index 86db014..eb1870f 100644 --- a/gn_auth/auth/authorisation/users/views.py +++ b/gn_auth/auth/authorisation/users/views.py @@ -240,6 +240,7 @@ def verify_user(): delete_verification_code(cursor, verificationcode) flash("Invalid verification code: code has expired.", "alert-danger") + return loginuri # Code is good! delete_verification_code(cursor, verificationcode) |