Change the QR code's timeout

Change the QR code's timeout

by Ricardo Caiado -
Number of replies: 2
Picture of Particularly helpful Moodlers
Hi,

Is there a way to change the QR code's timeout from 15 seconds to 1 minute?

Ricardo
Average of ratings: -
In reply to Ricardo Caiado

Change the QR code's timeout

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

The rotation interval and expiry can both be changed

by default the qr code is rotated every 15 seconds, but it has an extra 2 seconds before it expires.

you might want to increase the rotation interval to 30 seconds and set the rotation expiry margin to 30 seconds (meaning each code is valid for 1 min.)

see the settings under admin > plugins > attendance "Rotate QR code/password interval" and "Rotate QR code/password expiry margin"

Average of ratings: Useful (2)