cvs: pearweb /include pear-auth.php
| From: | Martin Jansen | Date: | Wed, 15 Oct 2003 17:38:08 +0000 |
| Subject: | cvs: pearweb /include pear-auth.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-13639@lists.php.net to get a copy of this message | ||
mj Wed Oct 15 13:38:08 2003 EDT
Modified files:
/pearweb/include pear-auth.php
Log:
* Don't allow users without at least the most basic karma level to log in.
Index: pearweb/include/pear-auth.php
diff -u pearweb/include/pear-auth.php:1.30 pearweb/include/pear-auth.php:1.31
--- pearweb/include/pear-auth.php:1.30 Fri Sep 26 15:49:25 2003
+++ pearweb/include/pear-auth.php Wed Oct 15 13:38:07 2003
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: pear-auth.php,v 1.30 2003/09/26 19:49:25 mj Exp $
+ $Id: pear-auth.php,v 1.31 2003/10/15 17:38:07 mj Exp $
*/
function auth_reject($realm = null, $message = null)
@@ -116,7 +116,7 @@
}
if ($ok) {
$auth_user->_readonly = true;
- return true;
+ return auth_check("user");
}
if ($error) {
error_log($error, 0);