authentication implementation

This commit is contained in:
HAM!DREZA
2024-05-27 15:13:45 +03:30
parent a984a3937e
commit 021360e364
38 changed files with 1083 additions and 2995 deletions
+10 -2
View File
@@ -35,7 +35,15 @@
</defs>
</svg>
<login-pageLogin-form />
<login-pageCheck-otp v-if="showCheckOtpForm" />
<login-pageLogin-form v-else/>
</div>
</div>
</template>
</template>
<script setup>
definePageMeta({
middleware : 'guest'
})
const showCheckOtpForm = useState('showCheckOtpForm', () => false)
</script>