File tree Expand file tree Collapse file tree
src/main/java/org/privacyidea Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,11 +129,11 @@ public PIResponse parsePIResponse(String serverResponse)
129129 if (result != null )
130130 {
131131 String r = getString (result , AUTHENTICATION );
132- for (AuthenticationStatus en : AuthenticationStatus .values ())
132+ for (AuthenticationStatus as : AuthenticationStatus .values ())
133133 {
134- if (en .toString ().equals (r ))
134+ if (as .toString ().equals (r ))
135135 {
136- response .authentication = en ;
136+ response .authentication = as ;
137137 }
138138 }
139139 response .status = getBoolean (result , STATUS );
@@ -175,11 +175,11 @@ else if ("interactive".equals(modeFromResponse))
175175 response .otpLength = getInt (detail , OTPLEN );
176176
177177 String r = getString (detail , CHALLENGE_STATUS );
178- for (ChallengeStatus en : ChallengeStatus .values ())
178+ for (ChallengeStatus cs : ChallengeStatus .values ())
179179 {
180- if (en .toString ().equals (r ))
180+ if (cs .toString ().equals (r ))
181181 {
182- response .challengeStatus = en ;
182+ response .challengeStatus = cs ;
183183 }
184184 }
185185
You can’t perform that action at this time.
0 commit comments