diff options
-rw-r--r-- | conf.py | 2 | ||||
-rw-r--r-- | pyaggr3g470r/views.py | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -34,7 +34,6 @@ if not ON_HEROKU: config.read("./conf/conf.cfg") PLATFORM_URL = config.get('misc', 'platform_url') - ADMIN_PLATFORM_EMAIL = config.get('misc', 'admin_platform_email') RECAPTCHA_PUBLIC_KEY = config.get('misc', 'recaptcha_public_key') RECAPTCHA_PRIVATE_KEY = config.get('misc', 'recaptcha_private_key') @@ -63,7 +62,6 @@ if not ON_HEROKU: else: PLATFORM_URL = os.environ.get('PLATFORM_URL', 'https://pyaggr3g470r.herokuapp.com/') - ADMIN_PLATFORM_EMAIL = os.environ.get('ADMIN_PLATFORM_EMAIL', '') RECAPTCHA_PUBLIC_KEY = os.environ.get('RECAPTCHA_PUBLIC_KEY', '') RECAPTCHA_PRIVATE_KEY = os.environ.get('RECAPTCHA_PRIVATE_KEY', '') diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index 7e73b7da..bbc19b46 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -144,7 +144,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, email=conf.ADMIN_PLATFORM_EMAIL) + return render_template('login.html', form=form) @app.route('/logout/') @login_required |