From 077658e85328a3b1cfc22e095008b0c4bdab1a17 Mon Sep 17 00:00:00 2001 From: Melloware Date: Wed, 1 Nov 2023 16:54:56 -0400 Subject: [PATCH] Update security-authentication-mechanisms.adoc --- .../main/asciidoc/security-authentication-mechanisms.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/main/asciidoc/security-authentication-mechanisms.adoc b/docs/src/main/asciidoc/security-authentication-mechanisms.adoc index b44b27da1738dd..c10efdc9dc315a 100644 --- a/docs/src/main/asciidoc/security-authentication-mechanisms.adoc +++ b/docs/src/main/asciidoc/security-authentication-mechanisms.adoc @@ -93,8 +93,8 @@ quarkus.http.auth.form.login-page= quarkus.http.auth.form.error-page= ---- -Now that you have disabled redirects for the SPA you need to login and logout programmatically from your client using JavaScript. -Below are example JavaScript methods for logging into the `j_security_check` and logging out of the application by destroying the cookie. +Now that you have disabled redirects for the SPA, you must login and logout programmatically from your client. +Below are example JavaScript methods for logging into the `j_security_check` endpoint and logging out of the application by destroying the cookie. [source,javascript] ---- @@ -127,7 +127,7 @@ const login = () => { }; ---- -To logout of the SPA you simply need to destroy the cookie and redirect back to your main page. +To logout of the SPA you must destroy the cookie and redirect back to your main page. [source,javascript] ----