From d306c2edbbc171d5345b3378bd76ed5b69984316 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Wed, 11 Aug 2004 20:53:43 +0000 Subject: Bug 241903: Add Environment Variable Authentication for apache auth and SSO patch by erik r=joel a=justdave --- template/en/default/global/useful-links.html.tmpl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'template/en/default/global/useful-links.html.tmpl') 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 %] [% ' | Sanity check' IF user.groups.tweakparams %] - | Log out  - [% user.login FILTER html %] + [% IF user.get_flag('can_logout') %] + | Log out  + [% ELSE %] + | Logged in as  + [% END %] + [% user.login FILTER html %] [% ELSE %] [% IF Param('createemailregexp') %] | New Account -- cgit v1.2.3-24-g4f1b