summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins
diff options
context:
space:
mode:
authorPetr Voborník <pvoborni@redhat.com>2012-02-24 15:31:55 +0100
committerRob Crittenden <rcritten@redhat.com>2012-02-28 23:58:51 -0500
commit87901ed7098dff72e4a62dfe582c2b83439b7280 (patch)
tree9fcf4354796ac72d68b48ead826f6b3c8db0a818 /ipalib/plugins
parenta5a55ceff3822ede55ad817ede0da5712fb75651 (diff)
downloadfreeipa-87901ed7098dff72e4a62dfe582c2b83439b7280.tar.gz
freeipa-87901ed7098dff72e4a62dfe582c2b83439b7280.tar.xz
freeipa-87901ed7098dff72e4a62dfe582c2b83439b7280.zip
Added logout button
Logout button was added to Web UI. Click on logout button executes session_logout command. If command succeeds or xhr stutus is 401 (unauthorized - already logged out) page is redirected to logout.html. logout.html is a simple page with "You have been logged out" text and a link to return back to main page. https://fedorahosted.org/freeipa/ticket/2363
Diffstat (limited to 'ipalib/plugins')
-rw-r--r--ipalib/plugins/internal.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py
index c346b4428..4ccbe5cd6 100644
--- a/ipalib/plugins/internal.py
+++ b/ipalib/plugins/internal.py
@@ -245,7 +245,9 @@ class i18n_messages(Command):
},
"false": _("False"),
"login": {
- "header": _("Logged In As")
+ "header": _("Logged In As"),
+ "logout": _("Logout"),
+ "logout_error": _("Logout error"),
},
"objects": {
"aci": {