There was an error while loading. Please reload this page.
1 parent bed18fe commit 28c4159Copy full SHA for 28c4159
github/src/main/resources/static/index.html
@@ -46,11 +46,11 @@ <h1>Login</h1>
46
});
47
$.get("/user", function(data) {
48
$("#user").html(data.name);
49
- if (data.name==undefined) {
50
- logout();
+ if (data.name == undefined) {
+ logout();
51
}else{
52
- $(".unauthenticated").hide();
53
- $(".authenticated").show();
+ $(".unauthenticated").hide();
+ $(".authenticated").show();
54
}
55
56
var logout = function() {
0 commit comments