Skip to content

Commit

Permalink
cmd: Add missing html closing tag to token user
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jun 22, 2019
1 parent 043c663 commit 894a9dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/token_user.go
Expand Up @@ -48,7 +48,6 @@ import (
)

var tokenUserWelcome = template.Must(template.New("").Parse(`<html>
<head></head>
<body>
<h1>Welcome to the exemplary OAuth 2.0 Consumer!</h1>
<p>This is an example app which emulates an OAuth 2.0 consumer application. Usually, this would be your web or mobile
Expand All @@ -58,7 +57,8 @@ var tokenUserWelcome = template.Must(template.New("").Parse(`<html>
Hydra).
To initiate the flow, click the "Authorize Application" button.</p>
<p><a href="{{ .URL }}">Authorize application</a></p>
</body>`))
</body>
</html>`))

var tokenUserError = template.Must(template.New("").Parse(`<html>
<body>
Expand Down

0 comments on commit 894a9dc

Please sign in to comment.