mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 01:12:17 +00:00
Trimmed Username after HTTP Basic Auth in Codeigniter
This commit is contained in:
@@ -378,7 +378,7 @@ class AuthLib
|
||||
}
|
||||
else // otherwise
|
||||
{
|
||||
$hta = $this->_createAuthObjByPerson(array('uid' => $_SERVER['PHP_AUTH_USER']));
|
||||
$hta = $this->_createAuthObjByPerson(array('uid' => trim($_SERVER['PHP_AUTH_USER'])));
|
||||
}
|
||||
|
||||
// Invalid credentials
|
||||
|
||||
Reference in New Issue
Block a user