Skip to content

Commit

Permalink
Fix missing check on qs Account Linking screen
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Jan 12, 2024
1 parent 429aac6 commit db4a092
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions FirebaseAuth/Sources/Swift/User/UserInfoImpl.swift
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,14 @@ extension UserInfoImpl: NSSecureCoding {}

required convenience init?(coder: NSCoder) {
guard let providerID = coder.decodeObject(of: [NSString.self],
forKey: UserInfoImpl.kProviderIDCodingKey) as? String,
let uid = coder.decodeObject(
of: [NSString.self],
forKey: UserInfoImpl.kUserIDCodingKey
) as? String
forKey: UserInfoImpl.kProviderIDCodingKey) as? String
else {
return nil
}

let uid = coder.decodeObject(
of: [NSString.self],
forKey: UserInfoImpl.kUserIDCodingKey
) as? String
let displayName = coder.decodeObject(
of: [NSString.self],
forKey: UserInfoImpl.kDisplayNameCodingKey
Expand Down

0 comments on commit db4a092

Please sign in to comment.