From c49a40df01f279d117b1eb73c05055f324f79d2f Mon Sep 17 00:00:00 2001 From: jedi Date: Mon, 8 Apr 2024 20:58:44 +0200 Subject: [PATCH] add make login page functional using federation layer and enforce login in router --- frontend/src/components/BaseLayout.vue | 12 ++++++ frontend/src/components/UserDropdown.vue | 47 ++++++++++++++++++++++ frontend/src/router.js | 3 +- frontend/src/views/Login.vue | 28 ++++++++++--- frontend/src/views/Register.vue | 50 +++++++++++++----------- 5 files changed, 111 insertions(+), 29 deletions(-) create mode 100644 frontend/src/components/UserDropdown.vue diff --git a/frontend/src/components/BaseLayout.vue b/frontend/src/components/BaseLayout.vue index 21b3d75..6fb817c 100644 --- a/frontend/src/components/BaseLayout.vue +++ b/frontend/src/components/BaseLayout.vue @@ -6,6 +6,11 @@ +