diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-05-05 00:40:23 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-05-18 20:49:05 +0200 |
commit | e86749121c626db9d6937c182634096de6a015fe (patch) | |
tree | df50a77ec1d2dd42e359c305df65a01d8e58c42e /core | |
parent | 4b4d3bb1c2aed09c288350822e6677426594a7ea (diff) | |
download | nextcloud-server-e86749121c626db9d6937c182634096de6a015fe.tar.gz nextcloud-server-e86749121c626db9d6937c182634096de6a015fe.zip |
Remove special characters
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller/ClientFlowLoginController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/ClientFlowLoginController.php b/core/Controller/ClientFlowLoginController.php index 45287f3048c..70cf8e8cebc 100644 --- a/core/Controller/ClientFlowLoginController.php +++ b/core/Controller/ClientFlowLoginController.php @@ -252,7 +252,7 @@ class ClientFlowLoginController extends Controller { return $response; } - $token = $this->random->generate(72); + $token = $this->random->generate(72, ISecureRandom::CHAR_UPPER.ISecureRandom::CHAR_LOWER.ISecureRandom::CHAR_DIGITS); $uid = $this->userSession->getUser()->getUID(); $generatedToken = $this->tokenProvider->generateToken( $token, |