feat: add parent PIN setup functionality and email notifications
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 23s
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 23s
- Implemented User model updates to include PIN and related fields. - Created email sender utility for sending verification and reset emails. - Developed ParentPinSetup component for setting up a parent PIN with verification code. - Enhanced UserProfile and EntityEditForm components to support new features. - Updated routing to include PIN setup and authentication checks. - Added styles for new components and improved existing styles for consistency. - Introduced loading states and error handling in various components.
This commit is contained in:
@@ -14,6 +14,9 @@ const handleBack = () => {
|
||||
}
|
||||
}
|
||||
|
||||
// Hide view-selector if on ParentPinSetup (PIN setup flow)
|
||||
const hideViewSelector = computed(() => route.name === 'ParentPinSetup')
|
||||
|
||||
const showBack = computed(
|
||||
() =>
|
||||
!(
|
||||
@@ -45,7 +48,7 @@ onMounted(async () => {
|
||||
<div class="back-btn-container">
|
||||
<button v-show="showBack" class="back-btn" @click="handleBack" tabindex="0">← Back</button>
|
||||
</div>
|
||||
<nav class="view-selector">
|
||||
<nav v-if="!hideViewSelector" class="view-selector">
|
||||
<button
|
||||
:class="{
|
||||
active: [
|
||||
|
||||
Reference in New Issue
Block a user