- sistemazioni Email : registrazione, invio invito, email di benvenuto
- fix circuito - profilo
This commit is contained in:
@@ -2206,7 +2206,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
|
||||
userStore.updateLocalStorage(res.data.myuser);
|
||||
|
||||
isLogged = !!res.data.myuser.username;
|
||||
isLogged = !!res.data.myuser.username && res.data.myuser.email;
|
||||
} else {
|
||||
// User not exist !!
|
||||
}
|
||||
@@ -2253,8 +2253,8 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
if (error.status === toolsext.ERR_RETRY_LOGIN) {
|
||||
} else {
|
||||
if (
|
||||
error.status === serv_constants.RIS_CODE__HTTP_FORBIDDEN_TOKEN_EXPIRED ||
|
||||
error.status === serv_constants.RIS_CODE__HTTP_FORBIDDEN_INVALID_TOKEN
|
||||
error.status === serv_constants.RIS_CODE__HTTP_TOKEN_EXPIRED ||
|
||||
error.status === serv_constants.RIS_CODE__HTTP_INVALID_TOKEN
|
||||
) {
|
||||
} else {
|
||||
this.serverError = true;
|
||||
|
||||
Reference in New Issue
Block a user