fix26: полный прод-фикс auth/jwt, import-export peer и frontend flow

This commit is contained in:
2026-05-09 01:18:13 +05:00
parent 7a64d76d08
commit c13841b61a
19 changed files with 390 additions and 90 deletions
+4
View File
@@ -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) ?? "/";