Generate the new publicKey tokens by default!

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-05-31 21:57:28 +02:00
parent f168ecfa7a
commit 1999f7ce7b
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 1 additions and 2 deletions

View File

@ -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,