This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user