Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.9.2, 3.9.11, 3.10.8, 3.11.4, 4.0
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-69555-master -
Description
QR login time
The time period of duration for QR code login is hard coded and set to 600 seconds. That makes sense and is in most cases a very good setting. In some cases it makes sense to set this time period to a much longer time .
Feedback from a Moodle Partner:
I had the discussion with teachers from primary schools that work from, class 1 when pupils can't read or write. They have the wish that they can set the time period for a QR code to six months and print the QR code for each pupil.
This is not secure like a period of 600 seconds. But I see the point from their perspective.
We could solve this when we make the period configurable by admins.
Auto-login time between requests
Apart from the previous but related, we have detected that in recent Moodle versions it is really difficult to have a consistent auto-login in the app (when we perform an SSO between app and web to embed Moodle LMS content in the app).
This is caused by some Android and especially iOS additional cookies security restrictions. The only way to fix this will be allowing site admins to relax the security time between auto-login requests (auto-login is quite secure right now, it implements different levels of protection, see tool_mobile_external::get_autologin_key()). The time between requests restriction was mostly there to avoid clients being able to abuse generating auto-login keys when it wasn't something really necessary until now.
Attachments
Issue Links
- blocks
-
MOBILE-4022 Support new tool_mobile_autologinmintimebetweenreq setting for auto-login requests
-
- Closed
-