Fix #3576757 Excessive 'access denied' logging in

Closes #3576757

After the user logs out, the JS autologoutGetTimeLeft() function is being called multiple times, generating an excessive amount of "Access denied" logs in the dblog database table, which is significantly increasing the size of the dblog table when you have lots of users.

Merge request reports

Loading