summaryrefslogtreecommitdiff
path: root/inc/auth
diff options
context:
space:
mode:
authorMatthias Grimm <matthiasgrimm@users.sourceforge.net>2005-11-05 13:49:32 +0100
committerMatthias Grimm <matthiasgrimm@users.sourceforge.net>2005-11-05 13:49:32 +0100
commitd2dde4eb797d69646f31f2b86b686db7707427d3 (patch)
treed10fd3af72fe2ba7ee39d43d87eede0cc91d6146 /inc/auth
parent85c8619a725d6a5007e0803e1997f40d423949c8 (diff)
downloadrpg-d2dde4eb797d69646f31f2b86b686db7707427d3.tar.gz
rpg-d2dde4eb797d69646f31f2b86b686db7707427d3.tar.bz2
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
Diffstat (limited to 'inc/auth')
-rw-r--r--inc/auth/basic.class.php4
1 files changed, 3 insertions, 1 deletions
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
+}