summaryrefslogtreecommitdiff
path: root/src/views/Login
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/Login')
-rw-r--r--src/views/Login/Login.vue12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue
index 4270b3fd..35af76f2 100644
--- a/src/views/Login/Login.vue
+++ b/src/views/Login/Login.vue
@@ -15,7 +15,7 @@
</b-col>
<b-col md="6">
- <b-form class="login-form" @submit.prevent="login" novalidate>
+ <b-form class="login-form" novalidate @submit.prevent="login">
<b-alert class="login-error" :show="authError" variant="danger">
<p id="login-error-alert">
<strong>{{ errorMsg.title }}</strong>
@@ -81,11 +81,6 @@ import VuelidateMixin from '../../components/Mixins/VuelidateMixin.js';
export default {
name: 'Login',
mixins: [VuelidateMixin],
- computed: {
- authError() {
- return this.$store.getters['authentication/authError'];
- }
- },
data() {
return {
errorMsg: {
@@ -99,6 +94,11 @@ export default {
disableSubmitButton: false
};
},
+ computed: {
+ authError() {
+ return this.$store.getters['authentication/authError'];
+ }
+ },
validations: {
userInfo: {
username: {