diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-04-01 15:59:11 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-04-01 15:59:11 +0100 |
| commit | 8ef696546c251bb41a690dd30dae3faedd0385fa (patch) | |
| tree | 85572aea8eaba6a781c377c92bb1a495648dcbd1 /app/auth | |
| parent | Give admin the ability to delete users (diff) | |
| download | AnnotateChange-8ef696546c251bb41a690dd30dae3faedd0385fa.tar.gz AnnotateChange-8ef696546c251bb41a690dd30dae3faedd0385fa.zip | |
formatting and flow fixing
Diffstat (limited to 'app/auth')
| -rw-r--r-- | app/auth/routes.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/auth/routes.py b/app/auth/routes.py index 73cbd6a..d23bc18 100644 --- a/app/auth/routes.py +++ b/app/auth/routes.py @@ -16,12 +16,11 @@ from app.auth.forms import ( ResetPasswordRequestForm, ResetPasswordForm, ) -from app.decorators import login_required -from app.models import User from app.auth.email import ( send_password_reset_email, send_email_confirmation_email, ) +from app.models import User from app.utils.tasks import create_initial_user_tasks @@ -70,7 +69,7 @@ def register(): "info", ) - return redirect(url_for("auth.not_confirmed")) + return redirect(url_for("auth.login")) return render_template("auth/register.html", title="Register", form=form) |
