Guest User

Untitled

a guest
Jul 26th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. <template>
  2. <checkPhone
  3. v-show="isModalVisible"
  4. @close="closeModal"/>
  5. </template
  6. <script>
  7. import checkPhone from "~/components/auth/checkPhone.vue"
  8. data() {
  9. return { email:""}
  10. }
  11. methods: {
  12. components: { checkPhone }
  13. signin() {
  14. axios.post('auth/signin', {
  15. user: {
  16. email: this.email,
  17. password: this.password,
  18. }
  19. }
  20. </script>
  21.  
  22. <script>
  23. checkEmail() {
  24. axios.post('auth/signin/confirm', {
  25. user: {
  26. email:this.email,
  27. confirmation_code: this.confirmation_code
  28. }
  29. }
  30. }
  31. </script>
Add Comment
Please, Sign In to add comment