diff --git a/src/components/Login.vue b/src/components/Login.vue index f1d88ba..5a8e95d 100644 --- a/src/components/Login.vue +++ b/src/components/Login.vue @@ -41,7 +41,7 @@ export default { }, methods: { performLogin() { - this.$store.dispatch("performLogin", this.creds).then(() => { + this.$store.dispatch("auth/performLogin", this.creds).then(() => { this.$router.push({name: 'Dashboard'}); }).catch(() => { this.invalidLogin = true; @@ -52,14 +52,14 @@ export default { } }, computed: { - ...mapGetters(['authInProgress']) + ...mapGetters('auth', ['authInProgress']) } }