mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
webui: remove passwords from sessions, 'remember me' works for all auth types (#4134)
* Updated to remove passwords from sessions * Remove users sessions when user deleted * Updated when cookies are set * Updated setcookies to always contain a value * Added destroy_cookies() to remove users cookies on failed login * Removed debug line * Fixed graph issues
This commit is contained in:
committed by
Tony Murray
parent
a710c4a33c
commit
deb4b74bc9
@@ -81,14 +81,6 @@ function authenticate($username, $password)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
function reauthenticate($sess_id = '', $token = '')
|
||||
{
|
||||
// Not supported
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
function passwordscanchange($username = '')
|
||||
{
|
||||
// Not supported
|
||||
|
Reference in New Issue
Block a user