From c3dcf5d3d7f8a27290149b5bae644f6fc09cae17 Mon Sep 17 00:00:00 2001 From: f-w Date: Mon, 15 Feb 2021 13:21:27 -0800 Subject: [PATCH] hide oidc login for super-admin --- client/src/components/login.vue | 149 ++++++++++++++++---------------- 1 file changed, 74 insertions(+), 75 deletions(-) diff --git a/client/src/components/login.vue b/client/src/components/login.vue index 1564d9116..a3a31d067 100644 --- a/client/src/components/login.vue +++ b/client/src/components/login.vue @@ -23,77 +23,81 @@ You are super-admin - @@ -116,11 +120,6 @@ export default { }; }, computed: { - showOidcLogin: { - get() { - return window.oidcAuthority && !this.oidcUser ? true : false; - }, - }, accessToken: { get() { return this.$store.state.accessToken; @@ -154,7 +153,7 @@ export default { this.$router.push(this.$router.currentRoute.path); this.$router.go(this.$router.currentRoute); } catch (ex) { - console.log(ex); + true; } } },