ID > Email

This commit is contained in:
Richard Mikloš 2024-02-08 10:49:14 +01:00
parent de377d74f8
commit 2c561957f5

@ -1,7 +1,7 @@
let UserInfo = {};
function isLoggedIn(){
return UserInfo.ID && UserInfo.ID > 0;
return UserInfo.Email && UserInfo.Email.length > 0;
}
async function handleResponse(data, successMessage, failureMessage) {