ID > Email
This commit is contained in:
parent
de377d74f8
commit
2c561957f5
@ -1,7 +1,7 @@
|
|||||||
let UserInfo = {};
|
let UserInfo = {};
|
||||||
|
|
||||||
function isLoggedIn(){
|
function isLoggedIn(){
|
||||||
return UserInfo.ID && UserInfo.ID > 0;
|
return UserInfo.Email && UserInfo.Email.length > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function handleResponse(data, successMessage, failureMessage) {
|
async function handleResponse(data, successMessage, failureMessage) {
|
||||||
|
Loading…
Reference in New Issue
Block a user