mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02: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