correct typo in example SecretQuestionAuthenticator

This commit is contained in:
Herbert Mühlburger 2017-09-11 13:13:47 +02:00
parent 352bc6b94b
commit 15949fcb02

View file

@ -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;
} }