Skip to content

Commit

Permalink
Merge pull request #2677 from myxmaster/refresh_pin_and_passphrase_st…
Browse files Browse the repository at this point in the history
…ates

Security: After deleting PIN/passphrase, refresh pinExists and passphraseExists
  • Loading branch information
kaloudis authored Dec 27, 2024
2 parents 9af8637 + 0306142 commit 3ce8f09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion views/Settings/Security.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ export default class Security extends React.Component<
scramblePin: settings.scramblePin ?? true,
loginBackground: settings.loginBackground ?? false,
isBiometryEnabled: biometricsStatus.isBiometryEnabled,
supportedBiometryType: biometricsStatus.supportedBiometryType
supportedBiometryType: biometricsStatus.supportedBiometryType,
pinExists: !!settings.pin,
passphraseExists: !!settings.passphrase
});

if (settings.pin) {
Expand Down

0 comments on commit 3ce8f09

Please sign in to comment.