From 87901ed7098dff72e4a62dfe582c2b83439b7280 Mon Sep 17 00:00:00 2001 From: Petr Voborník Date: Fri, 24 Feb 2012 15:31:55 +0100 Subject: 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 --- ipalib/plugins/internal.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ipalib/plugins/internal.py') diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py index c346b442..4ccbe5cd 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": { -- cgit