From 0541ed0ecc58ebbc276fb21d8874309dc44c9f4b Mon Sep 17 00:00:00 2001 From: Florian Klinger Date: Fri, 24 Nov 2023 12:26:29 +0100 Subject: [PATCH] Fixed typo in the code Signed-off-by: Florian Klinger --- lib/Controller/LoginController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/LoginController.php b/lib/Controller/LoginController.php index 835236ae..9a70f01f 100644 --- a/lib/Controller/LoginController.php +++ b/lib/Controller/LoginController.php @@ -231,7 +231,7 @@ public function login(int $providerId, string $redirectUrl = null) { $this->session->set(self::NONCE, $nonce); // PKCE code_challenge see https://datatracker.ietf.org/doc/html/rfc7636 - $code_verifier = $this->random->generage(128, ISecureRandom::CHAR_DIGITS . ISecureRandom::CHAR_UPPER . ISecureRandom::CHAR_LOWER); + $code_verifier = $this->random->generate(128, ISecureRandom::CHAR_DIGITS . ISecureRandom::CHAR_UPPER . ISecureRandom::CHAR_LOWER); $this->session->set(self::CODE_VERIFIER, $code_verifier); $this->session->set(self::PROVIDERID, $providerId);