This commit is contained in:
2019-04-26 21:02:04 +00:00
parent 1565c4c94b
commit aa3751be35
6 changed files with 67 additions and 209 deletions

View File

@@ -76,9 +76,13 @@ export default {
if (this.input.username != "" && this.input.password != "") {
this.errorBadCreds = false;
var that = this;
/* eslint-disable-next-line */
console.log("STEP 1 - LOGIN::AUTHENTICATING");
auth
.authenticate(this.input.username, this.input.password)
.then(() => {
/* eslint-disable-next-line */
console.log("STEP 8 - LOGIN::AUTHENTICATE COMPLETED - GOING HOME");
this.$router.push({ name: "home" });
})
.catch(function handleCaughtLoginError(error) {