Ali_Sakhi
(Ali Sakhi)
January 11, 2023, 10:17am
1
Hi
I am creating dotnet maui app. When ever I try to login I get this message
User cannot login because Multiple Logins disabled and there is a logged in user for the account.
Though I have set the first user to logout.
Thanks and Regards
Ali Sakhi
Try to logout before login.
Looks like you’ve already logged in before logging in again.
Ali_Sakhi
(Ali Sakhi)
January 11, 2023, 10:51am
3
The use case is if user closes the app, and then try to login again.
The first app/session should log out, this is the default feature.
No, you need to logout before login.
On the server, this user is still logged in, although CurrentUser == null
in the SDK.
Ali_Sakhi
(Ali Sakhi)
January 11, 2023, 11:12am
5
Is there any API to log out user using dotnet sdk. How can a user logs out from the app if the current user is null.
Just call Backendless.UserService.Logout();