diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/template/authorize.tmpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/web/template/authorize.tmpl b/web/template/authorize.tmpl index 0043e21ba..2b3b3ab07 100644 --- a/web/template/authorize.tmpl +++ b/web/template/authorize.tmpl @@ -11,6 +11,7 @@ <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"> @@ -30,4 +31,14 @@ </div> </div> </body> +{{else}} + <body> + <div class="container"> + <div class="jumbotron"> + {{.code}} + </div> + </div> + </body> +{{end}} + </html> |