edit login & otp

This commit is contained in:
2026-05-31 14:12:18 +03:30
parent 2f485914b4
commit 27c44710be
34 changed files with 448 additions and 67 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ const router = createRouter({
router.beforeEach(async (to) => {
const auth = useAuthStore();
if (auth.token) {
if (auth.token && !auth.user) {
await auth.loadUser();
}