Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ› Show username for logout to OIDC users too

Alicia Sykes57ca287c20b9
diff --git a/src/components/Settings/AuthButtons.vue b/src/components/Settings/AuthButtons.vue
index 8d573390..03b2daaf 100644
--- a/src/components/Settings/AuthButtons.vue
+++ b/src/components/Settings/AuthButtons.vue
@@ -94,7 +94,8 @@ export default {
},
makeUserGreeting() {
if (this.userType === userStateEnum.loggedIn
- || this.userType === userStateEnum.keycloakEnabled) {
+ || this.userType === userStateEnum.keycloakEnabled
+ || this.userType === userStateEnum.oidcEnabled) {
const username = localStorage[localStorageKeys.USERNAME];
return username ? this.$t('settings.sign-in-welcome', { username }) : '';
}