diff --git a/changelog.md b/changelog.md index bd5ea5f..42a6b9e 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,10 @@ All important changes to this plugin will be documented in this file +## TODO +### Changed +- Increased the SSO token length from 20 to 30 characters, matching the other LMS plugin implementations + ## [1.9.0] - 2026-06-29 ### Added - SSO when opening the Multi Problem Selector for the Problem Pool diff --git a/classes/sso/token/token_service.php b/classes/sso/token/token_service.php index 9c34aaf..3648695 100644 --- a/classes/sso/token/token_service.php +++ b/classes/sso/token/token_service.php @@ -89,6 +89,6 @@ private static function has_token_timed_out(sso_token $token): bool { * @return string */ private static function generate_token(): string { - return auth_mumie_get_token(20); + return auth_mumie_get_token(30); } }