We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48c1b24 commit ebcd911Copy full SHA for ebcd911
FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Services/AccountService+Email.swift
@@ -6,6 +6,7 @@ protocol EmailPasswordOperationReauthentication {
6
}
7
8
extension EmailPasswordOperationReauthentication {
9
+ // TODO: - @MainActor because User is non-sendable. Might change this once User is sendable in firebase-ios-sdk
10
@MainActor func reauthenticate() async throws -> AuthenticationToken {
11
guard let user = Auth.auth().currentUser else {
12
throw AuthServiceError.reauthenticationRequired("No user currently signed-in")
0 commit comments