1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-09 04:22:45 +03:00

Update crates/data-model/src/oauth2/authorization_grant.rs

Co-authored-by: Hugh Nimmo-Smith <hughns@users.noreply.github.com>
This commit is contained in:
Quentin Gliech
2022-08-02 14:45:56 +02:00
parent 372b32a780
commit 51848bf89d

View File

@@ -59,7 +59,7 @@ impl Pkce {
return Err(PkceVerificationError::TooShort); return Err(PkceVerificationError::TooShort);
} }
if verifier.len() > 43 { if verifier.len() > 128 {
return Err(PkceVerificationError::TooLong); return Err(PkceVerificationError::TooLong);
} }