You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, logged-in users can use the login command to login again which shouldn't be the case as we have a logout command as well. It will serve no purpose otherwise...so a solution would be to check if there are any current logged in users before we can login again. I think the account get command would serve that purpose but when I run it, it raises an error saying that the appwrite project is not instantiated with init but ig that's a bit confusing since when we are logging in we are connecting to maybe the cloud api endpoint and now I want to get the details of the current logged-in user for that....it has no link with a local appwrite project....
I would love to work on this...tho I would need some more insights into the issue :)
👍 Expected behavior
Should not allow user to login again before logout...
👎 Actual Behavior
Allowing us to do the opposite
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Windows
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
👟 Reproduction steps
Currently, logged-in users can use the
login
command to login again which shouldn't be the case as we have a logout command as well. It will serve no purpose otherwise...so a solution would be to check if there are any current logged in users before we can login again. I think theaccount get
command would serve that purpose but when I run it, it raises an error saying that the appwrite project is not instantiated withinit
but ig that's a bit confusing since when we are logging in we are connecting to maybe the cloud api endpoint and now I want to get the details of the current logged-in user for that....it has no link with a local appwrite project....I would love to work on this...tho I would need some more insights into the issue :)
👍 Expected behavior
Should not allow user to login again before logout...
👎 Actual Behavior
Allowing us to do the opposite
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Windows
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: