Skip to content

Commit

Permalink
Merge pull request #934 from jumpserver/pr@v3.6@fix_remeber_auth
Browse files Browse the repository at this point in the history
fix: 修复不记住密码导致无法登录的问题
  • Loading branch information
ibuler authored Aug 21, 2023
2 parents 791c50c + b813565 commit 4984065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export class AppService {
const assetId = asset.id;
const newAuth = Object.assign({alias: account.alias, username: account.username}, auth);
if (!auth.secret || !auth.rememberAuth) {
auth.secret = '';
newAuth.secret = '';
} else {
newAuth.secret = this.encrypt(auth.secret);
}
Expand Down

0 comments on commit 4984065

Please sign in to comment.