mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
scrut fixes
This commit is contained in:
@ -44,7 +44,7 @@ function auth_usermanagement() {
|
||||
}
|
||||
|
||||
|
||||
function adduser($username, $password, $level, $email='', $realname='', $can_modify_passwd='1') {
|
||||
function adduser($username, $password, $level, $email='', $realname='', $can_modify_passwd=1, $description='', $twofactor=0) {
|
||||
if (!user_exists($username)) {
|
||||
$hasher = new PasswordHash(8, false);
|
||||
$encrypted = $hasher->HashPassword($password);
|
||||
|
Reference in New Issue
Block a user