Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
Fix crashing when editing cipher by manual adding otp
Browse files Browse the repository at this point in the history
  • Loading branch information
M3DZIK committed Feb 28, 2024
1 parent 10c4c34 commit d39a8dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ fun OtpConfigure(
}
} else {
var beginParams: OTPParameters? = null
if (cipher != null) {
if (cipher?.loginData?.twoFactor != null) {
beginParams = OTPParser.parse(cipher.loginData?.twoFactor)
}

Expand Down

0 comments on commit d39a8dc

Please sign in to comment.