diff --git a/crates/templates/src/res/pages/consent.html b/crates/templates/src/res/pages/consent.html index e291318b..e7e96ea9 100644 --- a/crates/templates/src/res/pages/consent.html +++ b/crates/templates/src/res/pages/consent.html @@ -74,7 +74,7 @@ limitations under the License.
{{ back_to_client::link( text="Cancel", - class=button::text_class(), + class=button::plain_error_class(), uri=grant.redirect_uri, mode=grant.response_mode, params=dict(error="access_denied", state=grant.state) diff --git a/crates/templates/src/res/pages/login.html b/crates/templates/src/res/pages/login.html index 1b17b45f..62e490c0 100644 --- a/crates/templates/src/res/pages/login.html +++ b/crates/templates/src/res/pages/login.html @@ -31,7 +31,7 @@ limitations under the License.
{{ back_to_client::link( text="Cancel", - class=button::text_class(), + class=button::plain_error_class(), uri=next.grant.redirect_uri, mode=next.grant.response_mode, params=dict(error="access_denied", state=next.grant.state) diff --git a/crates/templates/src/res/pages/reauth.html b/crates/templates/src/res/pages/reauth.html index a23736be..54b16099 100644 --- a/crates/templates/src/res/pages/reauth.html +++ b/crates/templates/src/res/pages/reauth.html @@ -31,7 +31,7 @@ limitations under the License.
{{ back_to_client::link( text="Cancel", - class=button::text_class(), + class=button::plain_error_class(), uri=next.grant.redirect_uri, mode=next.grant.response_mode, params=dict(error="access_denied", state=next.grant.state) diff --git a/crates/templates/src/res/pages/register.html b/crates/templates/src/res/pages/register.html index 908b4d33..233e5148 100644 --- a/crates/templates/src/res/pages/register.html +++ b/crates/templates/src/res/pages/register.html @@ -33,7 +33,7 @@ limitations under the License.
{{ back_to_client::link( text="Cancel", - class=button::text_class(), + class=button::plain_error_class(), uri=next.grant.redirect_uri, mode=next.grant.response_mode, params=dict(error="access_denied", state=next.grant.state)