diff options
author | chris <chris@jalakai.co.uk> | 2006-01-25 01:01:25 +0100 |
---|---|---|
committer | chris <chris@jalakai.co.uk> | 2006-01-25 01:01:25 +0100 |
commit | cd52f92def16e676c2458a32d2b8c8f8a7839f06 (patch) | |
tree | 07d70db3e87c3dc543a49412e3a2e01d286d27ca /inc/html.php | |
parent | 10ea5c9fe4098c14d01c3e731f45008458de619a (diff) | |
download | rpg-cd52f92def16e676c2458a32d2b8c8f8a7839f06.tar.gz rpg-cd52f92def16e676c2458a32d2b8c8f8a7839f06.tar.bz2 |
oo auth update - remove legacy auth remnants, add auth->canDo
darcs-hash:20060125000125-9b6ab-9853f11e04d8ea93235317fa8137cef079eb2641.gz
Diffstat (limited to 'inc/html.php')
-rw-r--r-- | inc/html.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php index f6950879b..7e1203950 100644 --- a/inc/html.php +++ b/inc/html.php @@ -47,6 +47,7 @@ function html_login(){ global $lang; global $conf; global $ID; + global $auth; print p_locale_xhtml('login'); ?> @@ -79,7 +80,7 @@ function html_login(){ print '</p>'; } - if (auth_canDo('modifyUser')) { + if ($auth->canDo('modifyUser')) { print '<p>'; print $lang['pwdforget']; print ': <a href="'.wl($ID,'do=resendpwd').'" class="wikilink1">'.$lang['btn_resendpwd'].'</a>'; |