Fix AJAYX auth for anonymized caching
Should have tested this sooner but alas.
This commit is contained in:
parent
7a224a87c8
commit
d35f7fb1d1
2
js/application.min.js
vendored
2
js/application.min.js
vendored
File diff suppressed because one or more lines are too long
2
js/complete.min.js
vendored
2
js/complete.min.js
vendored
File diff suppressed because one or more lines are too long
@ -245,7 +245,7 @@ application.register('fictioneer', class extends Stimulus.Controller {
|
||||
// Only update from server after some time has passed (e.g. 60 seconds)
|
||||
if (
|
||||
(FcnGlobals.ajaxLimitThreshold < currentUserData.lastLoaded || currentUserData.loggedIn === false) &&
|
||||
currentUserData.loggedIn !== 'pending'
|
||||
(currentUserData.loggedIn !== 'pending' || this.ajaxAuthValue)
|
||||
) {
|
||||
// Prepare event
|
||||
const event = new CustomEvent(
|
||||
|
Loading…
x
Reference in New Issue
Block a user