horizon/horizon/utils
Julie Pichon 85f4c8b473 Display a message on the login page
In some cases, particularly when having to log the user out after
performing some action (e.g. password change), we want to display a
friendly message on the login screen to explain to the user why they
have been redirected to the login page.

This adds a function to do so, and uses it in a couple of places:
 - When updating one's own password using the Settings panel
 - Session time out
 - HTTP 401

Change-Id: Ie53c5552159304e1f1304ac6211b3accfd9aa623
Implements: blueprint messages-on-login-page
2013-08-30 19:54:31 +01:00
..
__init__.py Unifies the project packaging into one set of modules. 2012-02-29 00:20:13 -08:00
fields.py Enable H302 check 2013-08-22 17:39:09 +04:00
filters.py Enable H302 check 2013-08-22 17:39:09 +04:00
functions.py Display a message on the login page 2013-08-30 19:54:31 +01:00
html.py Enable H302 check 2013-08-22 17:39:09 +04:00
memoized.py Return an empty string rather than None when calling repr() 2013-04-02 22:08:33 +01:00
secret_key.py Updated from global requirements 2013-08-08 13:16:35 -03:00
validators.py Enable H302 check 2013-08-22 17:39:09 +04:00