diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-10-02 20:22:05 +0200 |
---|---|---|
committer | dklawren <dklawren@users.noreply.github.com> | 2018-10-02 20:22:05 +0200 |
commit | 62412db14081dd66cd5b2701b598b5af9eb31528 (patch) | |
tree | 7e84a852449e530a0b0bae5ef581eace63c81e83 /template/en/default/global/header.html.tmpl | |
parent | abe9b579f25120898b714d4b73343918169d48ac (diff) | |
download | bugzilla-62412db14081dd66cd5b2701b598b5af9eb31528.tar.gz bugzilla-62412db14081dd66cd5b2701b598b5af9eb31528.tar.xz |
add helpers for handling logins and error handling
Diffstat (limited to 'template/en/default/global/header.html.tmpl')
-rw-r--r-- | template/en/default/global/header.html.tmpl | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 4c6069c74..1cb46a07a 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -346,12 +346,10 @@ <li role="presentation"> <a href="userprefs.cgi" role="menuitem" tabindex="-1">Preferences</a> </li> - [% IF user.authorizer.can_logout %] - <li role="separator"></li> - <li role="presentation"> - <a href="index.cgi?logout=1" role="menuitem" tabindex="-1">Log out</a> - </li> - [% END %] + <li role="separator"></li> + <li role="presentation"> + <a href="index.cgi?logout=1" role="menuitem" tabindex="-1">Log out</a> + </li> [% IF sudoer %] <li role="presentation"> <a href="relogin.cgi?action=end-sudo" role="menuitem" tabindex="-1">End sudo session impersonating [% user.login FILTER html %]</a> |