Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: refresh current user (#5072)
boojackee733db77333
diff --git a/frontend/src/store/modules/auth.ts b/frontend/src/store/modules/auth.tsindex cc0f67dd44..c6c82226eb 100644--- a/frontend/src/store/modules/auth.ts+++ b/frontend/src/store/modules/auth.ts@@ -87,7 +87,7 @@ export const useAuthStore = defineStore("auth_v1", {},async refreshUserIfNeeded(name: string) {if (name === this.currentUser.name) {- const refreshedUser = await useUserStore().getOrFetchUserByName(name);+ const refreshedUser = await useUserStore().fetchUser(name);if (!isEqual(refreshedUser, this.currentUser)) {this.currentUser = refreshedUser;}