diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-08-25 13:49:45 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-08-25 13:49:45 +0200 |
commit | 2a56e651f500a4054eef8f3daf4b635ed9ca6b5f (patch) | |
tree | 0d3eae8b3142e1f44275e05803eaa0d307f5f291 /pyaggr3g470r/views.py | |
parent | Display a message when self registration is disabled. (diff) | |
download | newspipe-2a56e651f500a4054eef8f3daf4b635ed9ca6b5f.tar.gz newspipe-2a56e651f500a4054eef8f3daf4b635ed9ca6b5f.tar.bz2 newspipe-2a56e651f500a4054eef8f3daf4b635ed9ca6b5f.zip |
Better to use a warning message.
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 2f8b5189..6bb430bb 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -184,7 +184,7 @@ def signup(): Signup page. """ if not os.environ.get("SELF_REGISTRATION", False): - flash(gettext("Self registration is disabled."), 'info') + flash(gettext("Self registration is disabled."), 'warning') return redirect(url_for('home')) if g.user is not None and g.user.is_authenticated(): return redirect(url_for('home')) |