Fix fast AJAX login check

lol
This commit is contained in:
Tetrakern 2023-08-21 13:29:26 +02:00
parent 0a86ec1467
commit fdb41ae74a
2 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -227,7 +227,8 @@ function fcn_fetchLoginState() {
// Load from server
fcn_ajaxGet({
'action': 'fictioneer_ajax_is_user_logged_in'
'action': 'fictioneer_ajax_is_user_logged_in',
'fcn_fast_ajax': 1
}).then((response) => {
if (response.success && response.data.loggedIn) {
// Update view to logged-in state (beware double initialize!)