Skip to content

Commit

Permalink
MagicLinkAuthenticator: Adds missing decode
Browse files Browse the repository at this point in the history
  • Loading branch information
jleandroperez committed Jul 11, 2024
1 parent 8d76ccd commit a9e74b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Simplenote/Classes/MagicLinkAuthenticator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private extension MagicLinkAuthenticator {

@discardableResult
func attemptLoginWithAuthCode(queryItems: [URLQueryItem]) -> Bool {
guard let email = queryItems.value(for: Constants.emailField),
guard let email = queryItems.base64DecodedValue(for: Constants.emailField),
let authCode = queryItems.value(for: Constants.authCodeField),
!email.isEmpty, !authCode.isEmpty
else {
Expand Down

0 comments on commit a9e74b6

Please sign in to comment.