From 366339fc9a511af0061fb6f6320197fb3c751b66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Thu, 9 May 2019 03:31:56 +0200 Subject: [PATCH] login form rules --- frontend/src/components/forms/Login.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/forms/Login.vue b/frontend/src/components/forms/Login.vue index 160c6e5..9afabd2 100644 --- a/frontend/src/components/forms/Login.vue +++ b/frontend/src/components/forms/Login.vue @@ -8,12 +8,14 @@ ({ login: '', + loginRules: [v => !!v || 'Please enter user name'], + password: '', - showPassword: false + showPassword: false, + passwordRules: [v => !!v || 'Please enter password'], }), methods: {