mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-20 05:34:12 -04:00
Fix another user as array use
This commit is contained in:
1 parent
b8ec6e3081
commit
e754c2093d
1 file changed
+1
-1
@@ -160,7 +160,7 @@ class HostController extends AppController {
|
||||
if ( $token ) {
|
||||
// If we have a token, we need to derive username from there
|
||||
$ret = validateToken($token, 'refresh', true);
|
||||
$username = $ret[0]['Username'];
|
||||
$username = $ret[0]->Username();
|
||||
}
|
||||
|
||||
ZM\Info("Creating token for \"$username\"");
|
||||
|
||||
Reference in new issue
Block a user