Commit 378b97db by Nguyễn Đức Huy

login,register

parents e2d3e583 88543c41
Pipeline #1166 failed with stages
in 0 seconds
...@@ -90,6 +90,12 @@ export default { ...@@ -90,6 +90,12 @@ export default {
.catch((e)=> { .catch((e)=> {
alert(e) alert(e)
}) })
.catch(function (error) {
if (error.response) {
alert('Login Fail !')
console.log(error.response.data)
}
})
} else { } else {
alert("repassword don't match with password") alert("repassword don't match with password")
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment