authentication implementation
This commit is contained in:
+10
-2
@@ -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>
|
||||
Reference in New Issue
Block a user