From aa9ce272dcfa1380b2f05bc3a90ef8ca1b0a7f62 Mon Sep 17 00:00:00 2001 From: Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 22 Mar 2021 22:26:54 +0100 Subject: Oauth/token (#7) * add host and protocol options * some fiddling * tidying up and comments * tick off /oauth/token * tidying a bit * tidying * go mod tidy * allow attaching middleware to server * add middleware * more user friendly * add comments * comments * store account + app * tidying * lots of restructuring * lint + tidy --- web/template/authorize.tmpl | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'web') diff --git a/web/template/authorize.tmpl b/web/template/authorize.tmpl index 2b3b3ab07..fa6338b35 100644 --- a/web/template/authorize.tmpl +++ b/web/template/authorize.tmpl @@ -2,7 +2,7 @@ - Auth + GoToSocial Authorization -{{if len .code | eq 0 }}
-

Authorize

-

The client would like to perform actions on your behalf.

+

Hi {{.user}}!

+

Application {{.appname}} {{if len .appwebsite | eq 0 | not}}({{.appwebsite}}) {{end}}would like to perform actions on your behalf, with scope {{.scope}}.

+

The application will redirect to {{.redirect}} to continue.

-{{else}} - -
-
- {{.code}} -
-
- -{{end}} - -- cgit v1.2.3