mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 06:08:46 -04:00
Generate the new publicKey tokens by default!
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
f168ecfa7a
commit
1999f7ce7b
1 changed files with 1 additions and 2 deletions
|
|
@ -59,8 +59,7 @@ class Manager implements IProvider {
|
|||
string $name,
|
||||
int $type = IToken::TEMPORARY_TOKEN,
|
||||
int $remember = IToken::DO_NOT_REMEMBER): IToken {
|
||||
//TODO switch to new token by default once it is there
|
||||
return $this->defaultTokenProvider->generateToken(
|
||||
return $this->publicKeyTokenProvider->generateToken(
|
||||
$token,
|
||||
$uid,
|
||||
$loginName,
|
||||
|
|
|
|||
Loading…
Reference in a new issue