aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base')
-rw-r--r--templates/web/base/auth/2fa/form-add.html2
-rw-r--r--templates/web/base/pagination.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/base/auth/2fa/form-add.html b/templates/web/base/auth/2fa/form-add.html
index 706f1a31d..3603ec46c 100644
--- a/templates/web/base/auth/2fa/form-add.html
+++ b/templates/web/base/auth/2fa/form-add.html
@@ -1,6 +1,6 @@
<p>[% loc('Please scan this image with your app, or enter the text code into your app, then generate a new one-time code and enter it below:') %]</p>
-<p align="center"><img src="[% qr_code %]"></p>
+<p align="center"><img src="[% qr_code %]" alt=""></p>
<p align="center">[% secret32.replace('(....)', '$1 ') %]</p>
[% IF incorrect_code %]
diff --git a/templates/web/base/pagination.html b/templates/web/base/pagination.html
index 3b7bdc0b2..9efdc3d78 100644
--- a/templates/web/base/pagination.html
+++ b/templates/web/base/pagination.html
@@ -1,5 +1,5 @@
[% IF pager.total_entries > 1 %]
- <p class="pagination" data-page="[% pager.current_page %]">
+ <p class="pagination" data-page="[% pager.current_page | html %]">
[% IF pager.previous_page %]
<a class="prev" href="[% c.uri_with({ $param => pager.previous_page, ajax => undefined }) %][% '#' _ hash IF hash %]">[% loc('Previous') %]</a>
[% END %]