Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-05-31 22:57:28 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-18 23:11:55 +0300
commit1999f7ce7bd438f9b545fff8956ea4ed24d3dc8d (patch)
treeef29bd850ec69f5c183d7d54cba964ce21d7602d /lib
parentf168ecfa7adc484d53a88facdc12a7785583209f (diff)
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.php3
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,