diff --git a/custom-error/src/main/resources/static/index.html b/custom-error/src/main/resources/static/index.html index 905c4cb..40104c1 100644 --- a/custom-error/src/main/resources/static/index.html +++ b/custom-error/src/main/resources/static/index.html @@ -55,7 +55,7 @@

Login

$(".error").html(''); } }); - var logout = function() { + const logout = function() { $.post("/logout", function() { $("#user").html(''); $(".unauthenticated").show(); diff --git a/logout/src/main/resources/static/index.html b/logout/src/main/resources/static/index.html index 6714561..73224be 100644 --- a/logout/src/main/resources/static/index.html +++ b/logout/src/main/resources/static/index.html @@ -46,7 +46,7 @@

Login

$(".unauthenticated").hide(); $(".authenticated").show(); }); - var logout = function() { + const logout = function() { $.post("/logout", function() { $("#user").html(''); $(".unauthenticated").show(); diff --git a/two-providers/src/main/resources/static/index.html b/two-providers/src/main/resources/static/index.html index 09bd313..f574c23 100644 --- a/two-providers/src/main/resources/static/index.html +++ b/two-providers/src/main/resources/static/index.html @@ -49,7 +49,7 @@

Login

$(".unauthenticated").hide(); $(".authenticated").show(); }); - var logout = function() { + const logout = function() { $.post("/logout", function() { $("#user").html(''); $(".unauthenticated").show();