From cd52f92def16e676c2458a32d2b8c8f8a7839f06 Mon Sep 17 00:00:00 2001
From: chris
Date: Wed, 25 Jan 2006 01:01:25 +0100
Subject: oo auth update - remove legacy auth remnants, add auth->canDo
darcs-hash:20060125000125-9b6ab-9853f11e04d8ea93235317fa8137cef079eb2641.gz
---
inc/html.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'inc/html.php')
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 '
';
}
- if (auth_canDo('modifyUser')) {
+ if ($auth->canDo('modifyUser')) {
print '';
print $lang['pwdforget'];
print ': '.$lang['btn_resendpwd'].'';
--
cgit v1.2.3