diff --git a/src/router/index.ts b/src/router/index.ts index 9d258b69..c28ce37a 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -47,7 +47,8 @@ const router = createRouter({ { path: '', component: LoginView, - name: 'login' + name: 'login', + alias: ['/login'], }, { path: '/passwordreset', diff --git a/src/views/LoginView.vue b/src/views/LoginView.vue index 3881d9df..5f181219 100644 --- a/src/views/LoginView.vue +++ b/src/views/LoginView.vue @@ -137,8 +137,6 @@ const loginHandler = loginForm.handleSubmit(async (values) => { } }); -// TODO: fix the GEWIS login -// See: https://github.com/GEWIS/sudosos-frontend-vue3/issues/32 const loginViaGEWIS = () => { window.location.href = `https://gewis.nl/token/${import.meta.env.VITE_APP_GEWIS_TOKEN}`; };