diff options
-rw-r--r-- | pyaggr3g470r/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index 4f5c4fb2..f73ba812 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -743,7 +743,7 @@ def create_user(user_id=None): flash(gettext('User') + ' ' + user.nickname + ' ' + gettext('successfully created.'), 'success') return redirect("/admin/edit_user/"+str(user.id)+"/") else: - return render_template('profile.html', form=form) + return redirect(url_for('create_user')) if request.method == 'GET': if user_id is not None: |