diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-05 08:38:30 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-05 08:38:30 +0200 |
commit | bdb8818e04d752eb5d570d9d495e1a7932c31181 (patch) | |
tree | a9d3b1e28eeff1c47a8dd3f0dc506238e909f153 /pyaggr3g470r/views.py | |
parent | Updated revision date. (diff) | |
download | newspipe-bdb8818e04d752eb5d570d9d495e1a7932c31181.tar.gz newspipe-bdb8818e04d752eb5d570d9d495e1a7932c31181.tar.bz2 newspipe-bdb8818e04d752eb5d570d9d495e1a7932c31181.zip |
Added a link to the home to let the user request form an account.
Diffstat (limited to 'pyaggr3g470r/views.py')
-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 d91e209f..ac89f0b8 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -142,7 +142,7 @@ def login(): identity_changed.send(current_app._get_current_object(), identity=Identity(user.id)) flash(gettext("Logged in successfully."), 'success') return redirect(url_for('home')) - return render_template('login.html', form=form) + return render_template('login.html', form=form, email=conf.ADMIN_PLATFORM_EMAIL) @app.route('/logout/') @login_required |