Skip to content

Commit 9a52c21

Browse files
author
Achyut Kumar M
committed
set env while logging in using biometric
1 parent 36a8bee commit 9a52c21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

GoInfoGame/GoInfoGame/Login/View/PosmLogin.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ struct PosmLoginView: View {
7878

7979
if SessionManager.shared.canUseBiometricLogin(for: selectedEnvironment) {
8080
Button(action: {
81+
APIConfiguration.shared.environment = selectedEnvironment
8182
BiometricAuthManager.authenticate(reason: "Login using Face ID") { result in
8283
switch result {
8384
case .success:

0 commit comments

Comments
 (0)