Skip to content

Commit

Permalink
Fixed typo in the code
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Klinger <[email protected]>
  • Loading branch information
nc-fkl committed Nov 24, 2023
1 parent 02d199f commit 0541ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0541ed0

Please sign in to comment.