summaryrefslogtreecommitdiff
path: root/classes/auth
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-07 01:34:49 -0700
committerAndrew Dolgov <[email protected]>2013-05-07 01:34:49 -0700
commita4fd183b5853867a9293dba438512d8400e6b65e (patch)
tree9776db47df16c7daa91f7a0e2c257031be75d33e /classes/auth
parent75933cf00d4331fd27821af03cadbb2e7c83da79 (diff)
parent6f7798b6434f5ef6073447998c436901b507e3df (diff)
Merge pull request #180 from rlerdorf/master
Fix some bugs found by static analysis
Diffstat (limited to 'classes/auth')
-rw-r--r--classes/auth/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/auth/base.php b/classes/auth/base.php
index 83f99d109..c77df5157 100644
--- a/classes/auth/base.php
+++ b/classes/auth/base.php
@@ -16,7 +16,7 @@ class Auth_Base {
// Auto-creates specified user if allowed by system configuration
// Can be used instead of find_user_by_login() by external auth modules
- function auto_create_user($login) {
+ function auto_create_user($login, $password) {
if ($login && defined('AUTH_AUTO_CREATE') && AUTH_AUTO_CREATE) {
$user_id = $this->find_user_by_login($login);