diff --git a/frontend/src/components/AuthCallbackHandler.vue b/frontend/src/components/AuthCallbackHandler.vue index 60152bbb1..9528f82eb 100644 --- a/frontend/src/components/AuthCallbackHandler.vue +++ b/frontend/src/components/AuthCallbackHandler.vue @@ -6,7 +6,7 @@ import authService from '@/services/AuthService'; * This component is to deal with Auth callback. */ -authService.methods.handlePostLogin().then((data) => { +authService.handlePostLogin().then((data) => { router.push('/dashboard'); }); diff --git a/frontend/src/components/Landing.vue b/frontend/src/components/Landing.vue index c867fd67e..8d914a78d 100644 --- a/frontend/src/components/Landing.vue +++ b/frontend/src/components/Landing.vue @@ -1,7 +1,7 @@ @@ -23,7 +23,7 @@ import TreeLogs from '@/assets/images/tree-logs.jpg'; class="landing-button" label="Login with IDIR" id="login-idir-button" - @click="authService.methods.login()" + @click="AuthService.login()" > @@ -33,7 +33,7 @@ import TreeLogs from '@/assets/images/tree-logs.jpg'; label="Login with BCeID" id="login-bceid-button" disabled - @click="authService.methods.login()" + @click="AuthService.login()" > diff --git a/frontend/src/components/common/ProfileSidebar.vue b/frontend/src/components/common/ProfileSidebar.vue index 7d57186a7..8bfdc1b94 100644 --- a/frontend/src/components/common/ProfileSidebar.vue +++ b/frontend/src/components/common/ProfileSidebar.vue @@ -1,28 +1,38 @@