Hey there!
Anyone else having issues with wixUsers today? I have suddenly got false in the loggedIn property of the user object. But I do know that the user just logged in and the promise was resolved.
I’ve noted that the promise isn’t resolving actually, the user logs in but the promise is rejected. I don’t know why, so the user isn’t actually login although the data passes was correct.
@andreas-kviby I just called the support hotline, they said the best course of action at this time is to take the site down while they review the issue, they said they’re aware of the issue.
How are you logging in the users?
It looks like if you use the built in login the promise should be resolved with no issue
Whew! Scared me… I seemed to be having the same issues with one of my sites during this conversation. As soon as I was about to comment, everything started working again. Users was working but not inside an if statement.
I was ready to be disappointed too. Especially considering I got up a couple hours early to work on some user stuff before work today. But Wix Code IS still beta… I’m sure this won’t be the last time something like this comes up.
Same issue for me!
According to my observation wixUsers.currentUser.loggedIn returns false, while
return users.promptLogin(options)
.then( function ( user ) {
…
resolves without showing Login screen and without actual login done.
In the resolved promise user .loggedIn is true and user.id returns user ID of user who was logged in last time.
I seem to be having a similar issue. I have a page used for logged in members to fill in form that uploads the form data to the database collection. It is uploading the form data to the collection fine but not retrieving the data as its not recognising the logged in member by the ‘owner’ ID (I assuming). It’s only be happening since last night and it’s frustrating as hell that’s its no longer working. I thought as y’all are experiencing similar issues with wixUsers as I can only think it’s do with that
For me IF the user actually logs in wixUsers.currentUser.loggedIn returns true…but if they refresh page then wixUsers.currentUser.loggedIn returns FALSE and my conditional buttons do not show up… even though they are still logged in according to the wix log in bar.
Same issue here. Basically wixUsers.currentUser.loggedIn will respond “false” even when my member has logged in. @yisrael-wix@ohad-laufer Help needed!!