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 empty check for userId when restoring user
天舟10dbecfa9314
diff --git a/frontend/src/store/modules/auth.ts b/frontend/src/store/modules/auth.tsindex 6ea11a7073..229fcaa069 100644--- a/frontend/src/store/modules/auth.ts+++ b/frontend/src/store/modules/auth.ts@@ -86,7 +86,7 @@ const actions = {async restoreUser({ commit, dispatch }: any) {const userId = getIntCookie("user");- if (!isEmpty(userId)) {+ if (userId) {const loggedInUser = await dispatch("principal/fetchPrincipalById",userId,