Skip to content

Commit

Permalink
Update AppState.swift
Browse files Browse the repository at this point in the history
Fix the issue where entering an email address with capital letters causes the login to fail.
  • Loading branch information
mahadshahib authored Dec 24, 2024
1 parent 17f3d36 commit a613388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Xcodes/Backend/AppState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class AppState: ObservableObject {

func signIn(username: String, password: String) {
authError = nil
signIn(username: username, password: password)
signIn(username: username.lowercased(), password: password)
.sink(
receiveCompletion: { _ in },
receiveValue: { _ in }
Expand Down

0 comments on commit a613388

Please sign in to comment.