Skip to content

Commit 876680d

Browse files
author
Dave Syer
committed
Fix user details in home page
Fixes spring-guidesgh-74
1 parent 0d776b2 commit 876680d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/src/main/resources/static/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ <h1>Login</h1>
4545
}
4646
});
4747
$.get("/user", function(data) {
48-
$("#user").html(data.userAuthentication.details.name);
48+
$("#user").html(data.name);
4949
$(".unauthenticated").hide();
5050
$(".authenticated").show();
5151
});

0 commit comments

Comments
 (0)