Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <checkPhone
- v-show="isModalVisible"
- @close="closeModal"/>
- </template
- <script>
- import checkPhone from "~/components/auth/checkPhone.vue"
- data() {
- return { email:""}
- }
- methods: {
- components: { checkPhone }
- signin() {
- axios.post('auth/signin', {
- user: {
- email: this.email,
- password: this.password,
- }
- }
- </script>
- <script>
- checkEmail() {
- axios.post('auth/signin/confirm', {
- user: {
- email:this.email,
- confirmation_code: this.confirmation_code
- }
- }
- }
- </script>
Add Comment
Please, Sign In to add comment