From d2dde4eb797d69646f31f2b86b686db7707427d3 Mon Sep 17 00:00:00 2001 From: Matthias Grimm Date: Sat, 5 Nov 2005 13:49:32 +0100 Subject: OO_auth_fixes This patch allows the OO auth module to fail. The basic class got a new property $success that is checked in auth.php. Derived classes might change this calue in their constructors. Beautifying the whitespaces in auth.php completes this patch. darcs-hash:20051105124932-4145d-dfcfa6c3b87d0087b4bffe3e5a29db000b10b242.gz --- inc/auth/basic.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'inc/auth/basic.class.php') diff --git a/inc/auth/basic.class.php b/inc/auth/basic.class.php index cf19e2c79..8905f283d 100644 --- a/inc/auth/basic.class.php +++ b/inc/auth/basic.class.php @@ -10,6 +10,8 @@ class auth_basic { + var $success = TRUE; + /** * Check user+password [ MUST BE OVERRIDDEN ] * @@ -156,4 +158,4 @@ class auth_basic { # msg("authorisation method does not support alteration of group memberships", -1); # return false; # } -} \ No newline at end of file +} -- cgit v1.2.3