This commit is contained in:
2019-04-29 23:05:52 +00:00
parent 6ffbbc11de
commit 88776817cb
6 changed files with 2 additions and 38 deletions

View File

@@ -76,13 +76,9 @@ 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) {