summaryrefslogtreecommitdiff
path: root/web/template/oob.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/oob.tmpl')
-rw-r--r--web/template/oob.tmpl14
1 files changed, 7 insertions, 7 deletions
diff --git a/web/template/oob.tmpl b/web/template/oob.tmpl
index 0f183c350..ff36582e7 100644
--- a/web/template/oob.tmpl
+++ b/web/template/oob.tmpl
@@ -17,12 +17,12 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ -}}
-{{ template "header.tmpl" .}}
+{{- with . }}
<main>
- <section class="oob-token">
- <h1>Hi {{ .user }}!</h1>
- <p>Here's your out-of-band token with scope "<em>{{.scope}}</em>", use it wisely:</p>
- <code>{{ .oobToken }}</code>
- </section>
+ <section class="oob-token">
+ <h1>Hi {{ .user -}}!</h1>
+ <p>Here's your out-of-band token with scope "<em>{{- .scope -}}</em>", use it wisely:</p>
+ <code>{{- .oobToken -}}</code>
+ </section>
</main>
-{{ template "footer.tmpl" .}} \ No newline at end of file
+{{- end }} \ No newline at end of file