fix26: полный прод-фикс auth/jwt, import-export peer и frontend flow
This commit is contained in:
@@ -160,6 +160,10 @@ const handleLogin = () => {
|
||||
adminStore
|
||||
.login(params)
|
||||
.then(() => {
|
||||
if (adminStore.forcePasswordChange) {
|
||||
router.push({ path: "/admin/change-password" });
|
||||
return;
|
||||
}
|
||||
const query: LocationQuery = route.query;
|
||||
|
||||
const redirect = (query.redirect as LocationQueryValue) ?? "/";
|
||||
|
||||
Reference in New Issue
Block a user