correct typo in example SecretQuestionAuthenticator
This commit is contained in:
parent
352bc6b94b
commit
15949fcb02
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ public class SecretQuestionAuthenticator implements Authenticator {
|
||||||
Cookie cookie = context.getHttpRequest().getHttpHeaders().getCookies().get("SECRET_QUESTION_ANSWERED");
|
Cookie cookie = context.getHttpRequest().getHttpHeaders().getCookies().get("SECRET_QUESTION_ANSWERED");
|
||||||
boolean result = cookie != null;
|
boolean result = cookie != null;
|
||||||
if (result) {
|
if (result) {
|
||||||
System.out.println("Bypassing secret question because cookie as set");
|
System.out.println("Bypassing secret question because cookie is set");
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue