fixes and cleanups

git-svn-id: http://www.observium.org/svn/observer/trunk@3018 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2012-04-10 15:53:10 +00:00
parent 4e0c3fd679
commit 764cb72cd5
7 changed files with 8 additions and 11 deletions

View File

@ -27,7 +27,7 @@ function authenticate($username,$password)
return 0;
}
function passwordscanchange()
function passwordscanchange($username = "")
{
return 0;
}
@ -42,7 +42,7 @@ function auth_usermanagement()
return 1;
}
function adduser($username, $password, $level, $email = "", $realname = "")
function adduser($username, $password, $level, $email = "", $realname = "", $can_modify_passwd = '1')
{
return dbInsert(array('username' => $username, 'password' => $password, 'level' => $level, 'email' => $email, 'realname' => $realname), 'users');
}