From d624dae9d6727a09f6eb33b95c19986826359d6c Mon Sep 17 00:00:00 2001 From: Yoshie Muranaka Date: Mon, 21 Sep 2020 14:35:58 -0700 Subject: Add support for mutual TLS Adding check for 'IsAuthenticated' cookie in AuthenticationStore and adding a check in created hook for AppHeader component because it is visible on all authenticated pages. Signed-off-by: Yoshie Muranaka Change-Id: Ic558c9c45fd3f5874c8c516cb6bc005cba4946e2 --- src/views/Login/Login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/views/Login') diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue index 4d523de6..dd0a415b 100644 --- a/src/views/Login/Login.vue +++ b/src/views/Login/Login.vue @@ -117,7 +117,7 @@ export default { const username = this.userInfo.username; const password = this.userInfo.password; this.$store - .dispatch('authentication/login', [username, password]) + .dispatch('authentication/login', { username, password }) .then(() => { localStorage.setItem('storedLanguage', i18n.locale); localStorage.setItem('storedUsername', username); -- cgit v1.2.3