diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-05-31 21:57:28 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-18 22:11:55 +0200 |
commit | 1999f7ce7bd438f9b545fff8956ea4ed24d3dc8d (patch) | |
tree | ef29bd850ec69f5c183d7d54cba964ce21d7602d /lib | |
parent | f168ecfa7adc484d53a88facdc12a7785583209f (diff) | |
download | nextcloud-server-1999f7ce7bd438f9b545fff8956ea4ed24d3dc8d.tar.gz nextcloud-server-1999f7ce7bd438f9b545fff8956ea4ed24d3dc8d.zip |
Generate the new publicKey tokens by default!
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Authentication/Token/Manager.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Authentication/Token/Manager.php b/lib/private/Authentication/Token/Manager.php index 981ea74f568..e4f0ead862b 100644 --- a/lib/private/Authentication/Token/Manager.php +++ b/lib/private/Authentication/Token/Manager.php @@ -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, |