Skip to content

Commit

Permalink
fix bug: #6946
Browse files Browse the repository at this point in the history
  • Loading branch information
baozhoutao committed Aug 12, 2024
1 parent fb74b51 commit d9e02f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/accounts/src/server/accounts-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -491,8 +491,8 @@ export class AccountsServer {
// token,
isImpersonated,
userId,
name,
email
// name,
// email
};
const accessToken = generateAccessToken({
data: jwtData,
Expand Down
6 changes: 3 additions & 3 deletions packages/accounts/src/server/types/jwt-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
* @Author: [email protected]
* @Date: 2022-03-28 09:35:34
* @LastEditors: [email protected]
* @LastEditTime: 2022-07-01 15:01:17
* @LastEditTime: 2024-08-12 17:04:03
* @Description:
*/
export interface JwtData {
token?: string;
isImpersonated: boolean;
userId: string;
name: string,
email: string,
name?: string,
email?: string,
}

0 comments on commit d9e02f4

Please sign in to comment.