Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All important changes to this plugin will be documented in this file.

## TODO
### Changed
- Tightened the SSO token verification window from 1 hour to 60 seconds, matching the other LMS plugin implementations

## [v1.5] - 2021-10-22
### Added
- Ungraded MUMIE Tasks are now supported in Stud.IP. They represent ungraded links to MUMIE articles.
Expand Down
2 changes: 1 addition & 1 deletion services/SSOService.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static function verifyToken($token, $hashedId)

if (!is_null($mumieToken) && $mumieToken->token == $token && $userRecord != null) {
$current = time();
if (($current - $mumieToken->timecreated) >= (60*60)) {
if (($current - $mumieToken->timecreated) >= 60) {
$response->status = "invalid";
} else {
$response->status = "valid";
Expand Down