summaryrefslogtreecommitdiffstats
path: root/templates/otp.html.template
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2026-10-20 15:24:13 -0700
committerRose Hogenson <rosehogenson@posteo.net>2026-10-20 16:05:36 -0700
commitda4fb79df70768d70e5d7e74ed7f3ceac21e77cc (patch)
treef16e82976cd23c772880e064d88bcc86efa19689 /templates/otp.html.template
parentCompletely overhaul the auth again (diff)
downloadroseh.moe-da4fb79df70768d70e5d7e74ed7f3ceac21e77cc.tar.zst
Add a link to temporarily log in another device
Diffstat (limited to 'templates/otp.html.template')
-rw-r--r--templates/otp.html.template25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/otp.html.template b/templates/otp.html.template
new file mode 100644
index 0000000..b20d71c
--- /dev/null
+++ b/templates/otp.html.template
@@ -0,0 +1,25 @@
+<!-- Copyright 2026 Rose Hogenson <r@roseh.moe>
+ --
+ -- This file is part of roseh.moe.
+ --
+ -- roseh.moe is free software: you can redistribute it and/or modify
+ -- it under the terms of the GNU Affero General Public License
+ -- as published by the Free Software Foundation, either version 3 of
+ -- the License, or (at your option) any later version.
+ --
+ -- roseh.moe is distributed in the hope that it will be useful,
+ -- but WITHOUT ANY WARRANTY; without even the implied warranty
+ -- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ -- GNU Affero General Public License for more details.
+ --
+ -- You should have received a copy of the GNU Affero General Public
+ -- License along with roseh.moe. If not, see
+ -- <https://www.gnu.org/licenses/>.
+ -->
+
+<title>OTP</title>
+
+<div style="display:flex;flex-direction:column;align-items:center;font-size:50px">
+ <p>Your OTP link: <a href="{{.URL}}">{{.URL}}</a></p>
+ <img src="{{.QR}}" alt="QR code for {{.URL}}" width="500px">
+</div>