mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
WIP REST API for mail & token auth: fix wrong namespace
This commit is contained in:
parent
961bc79885
commit
d46f8f4a4e
@ -51,7 +51,7 @@ class Token extends APi\Storage\Base
|
||||
return null; // not a token
|
||||
}
|
||||
try {
|
||||
$log_passwd = substr($token, 0, strlen(Auth\Token::PREFIX)+1+strlen($matches[1]));
|
||||
$log_passwd = substr($token, 0, strlen(self::PREFIX)+1+strlen($matches[1]));
|
||||
$log_passwd .= str_repeat('*', strlen($token)-strlen($log_passwd));
|
||||
$data = self::getInstance()->read([
|
||||
'token_id' => $matches[1],
|
||||
|
Loading…
Reference in New Issue
Block a user