feat: custom location on admin redirect to base (#3103)
This commit is contained in:
committed by
GitHub
parent
4ba135f3b9
commit
d7cc9f5dbc
@@ -383,7 +383,7 @@ export const auth = {
|
|||||||
await this.signInWithEmailLink(deviceIdentifier, window.location.href);
|
await this.signInWithEmailLink(deviceIdentifier, window.location.href);
|
||||||
|
|
||||||
removeLocalConfig('deviceIdentifier');
|
removeLocalConfig('deviceIdentifier');
|
||||||
window.location.href = '/';
|
window.location.href = import.meta.env.VITE_ADMIN_URL;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user