Skip to content

Commit

Permalink
fix: styles in auth
Browse files Browse the repository at this point in the history
  • Loading branch information
mnenie committed Jul 7, 2024
1 parent de32b22 commit 800a796
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/providers/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,7 @@ export const router = createRouter({
router.beforeEach((to, from) => {
// TODO(@mnenie): Add guards logic
// Needs to add guard auth logic in router
if (to.meta.requiresAuth === true) {
return router.push({ name: RouteNames.login });
}
});
1 change: 1 addition & 0 deletions src/features/auth/ui/SignInForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const onLogin = handleSubmit((values) => {
& span {
color: var(--destructive);
font-weight: 500 !important;
}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/features/auth/ui/SignUpForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const onRegistration = handleSubmit((values) => {
& span {
color: var(--destructive);
font-weight: 500 !important;
}
}
}
Expand Down

0 comments on commit 800a796

Please sign in to comment.