Browse Source

Merge pull request #6032 from nocodb/fix/signout-signin-bug

fix: Avoid generating invalid token after signout
pull/6036/head
աɨռɢӄաօռɢ 1 year ago committed by GitHub
parent
commit
ef5162348b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nocodb/src/services/users/users.service.ts

2
packages/nocodb/src/services/users/users.service.ts

@ -503,7 +503,7 @@ export class UsersService {
if (user?.id) {
await User.update(user.id, {
refresh_token: null,
token_version: null,
token_version: randomTokenString(),
});
}
return { msg: 'Signed out successfully' };

Loading…
Cancel
Save