diff options
author | bugreport%peshkin.net <> | 2004-08-11 22:53:43 +0200 |
---|---|---|
committer | bugreport%peshkin.net <> | 2004-08-11 22:53:43 +0200 |
commit | d306c2edbbc171d5345b3378bd76ed5b69984316 (patch) | |
tree | 9810bba5d11c730fd4412a962dfd263655793470 /template/en/default/global | |
parent | def7903801fcdbab2f227688375f38c5cb490f27 (diff) | |
download | bugzilla-d306c2edbbc171d5345b3378bd76ed5b69984316.tar.gz bugzilla-d306c2edbbc171d5345b3378bd76ed5b69984316.tar.xz |
Bug 241903: Add Environment Variable Authentication for apache auth and SSO
patch by erik
r=joel
a=justdave
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/useful-links.html.tmpl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl index c04b60dd6..7e568372c 100644 --- a/template/en/default/global/useful-links.html.tmpl +++ b/template/en/default/global/useful-links.html.tmpl @@ -52,8 +52,12 @@ [% IF user.login %] [% ' | <a href="sanitycheck.cgi">Sanity check</a>' IF user.groups.tweakparams %] - | <a href="relogin.cgi">Log out</a> - [% user.login FILTER html %] + [% IF user.get_flag('can_logout') %] + | <a href="relogin.cgi">Log out</a> + [% ELSE %] + | Logged in as + [% END %] + [% user.login FILTER html %] [% ELSE %] [% IF Param('createemailregexp') %] | <a href="createaccount.cgi">New Account</a> |