Skip to content

Commit 67a7df4

Browse files
committed
cleanup
1 parent 167d452 commit 67a7df4

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎spring-security-oauth/src/main/java/org/baeldung/web/RedditController.java‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ public class RedditController {
5454
public final String redditLogin() {
5555
final JsonNode node = redditRestTemplate.getForObject("https://oauth.reddit.com/api/v1/me", JsonNode.class);
5656
loadAuthentication(node.get("name").asText(), redditRestTemplate.getAccessToken());
57-
System.out.println(SecurityContextHolder.getContext().getAuthentication().toString());
5857
return "redirect:home.html";
5958
}
6059

@@ -72,8 +71,6 @@ public final String submit(final Model model, @RequestParam final Map<String, St
7271

7372
@RequestMapping("/post")
7473
public final String showSubmissionForm(final Model model) {
75-
System.out.println(SecurityContextHolder.getContext().getAuthentication().toString());
76-
7774
final boolean isCaptchaNeeded = getCurrentUser().isCaptchaNeeded();
7875
if (isCaptchaNeeded) {
7976
final String iden = getNewCaptcha();

0 commit comments

Comments
 (0)