mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fixes and cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@3018 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -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');
|
||||
}
|
||||
|
Reference in New Issue
Block a user