diff options
Diffstat (limited to 'web/template/authorize.tmpl')
-rw-r--r-- | web/template/authorize.tmpl | 18 |
1 files changed, 4 insertions, 14 deletions
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 @@ <html lang="en"> <head> <meta charset="UTF-8" /> - <title>Auth</title> + <title>GoToSocial Authorization</title> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" @@ -11,13 +11,13 @@ <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> </head> -{{if len .code | eq 0 }} <body> <div class="container"> <div class="jumbotron"> <form action="/oauth/authorize" method="POST"> - <h1>Authorize</h1> - <p>The client would like to perform actions on your behalf.</p> + <h1>Hi {{.user}}!</h1> + <p>Application <b>{{.appname}}</b> {{if len .appwebsite | eq 0 | not}}({{.appwebsite}}) {{end}}would like to perform actions on your behalf, with scope <em>{{.scope}}</em>.</p> + <p>The application will redirect to {{.redirect}} to continue.</p> <p> <button type="submit" @@ -31,14 +31,4 @@ </div> </div> </body> -{{else}} - <body> - <div class="container"> - <div class="jumbotron"> - {{.code}} - </div> - </div> - </body> -{{end}} - </html> |