Skip to content

Commit a613388

Browse files
authored
Update AppState.swift
Fix the issue where entering an email address with capital letters causes the login to fail.
1 parent 17f3d36 commit a613388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Xcodes/Backend/AppState.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ class AppState: ObservableObject {
277277

278278
func signIn(username: String, password: String) {
279279
authError = nil
280-
signIn(username: username, password: password)
280+
signIn(username: username.lowercased(), password: password)
281281
.sink(
282282
receiveCompletion: { _ in },
283283
receiveValue: { _ in }

0 commit comments

Comments
 (0)