Fix AJAYX auth for anonymized caching

Should have tested this sooner but alas.
This commit is contained in:
Tetrakern 2024-12-19 16:33:22 +01:00
parent 7a224a87c8
commit d35f7fb1d1
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

2
js/complete.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -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(