Skip to content
Snippets Groups Projects
Verified Commit 19416f38 authored by Pavel Břoušek's avatar Pavel Břoušek
Browse files

fix: bring back HTML fixes which were silently reverted in a merge commit

introduced in ed15b615 and reverted in 40707985
parent 2b8636b3
No related branches found
No related tags found
No related merge requests found
...@@ -136,7 +136,10 @@ if (null !== $this->data['errorCode']) { ...@@ -136,7 +136,10 @@ if (null !== $this->data['errorCode']) {
placeholder="<?php echo htmlspecialchars($passHint, ENT_QUOTES); ?>"/> placeholder="<?php echo htmlspecialchars($passHint, ENT_QUOTES); ?>"/>
<strong id="message"><?php echo htmlspecialchars($this->data['message'] ?? '', ENT_QUOTES); ?></strong> <strong id="message"><?php echo htmlspecialchars($this->data['message'] ?? '', ENT_QUOTES); ?></strong>
<br> <br><br>
<label for="otp" class="sr-only">
<?php echo $this->t('{privacyidea:privacyidea:otp}'); ?>
</label>
<input id="otp" name="otp" type="password" <input id="otp" name="otp" type="password"
placeholder="<?php echo htmlspecialchars($otpHint, ENT_QUOTES); ?>"> placeholder="<?php echo htmlspecialchars($otpHint, ENT_QUOTES); ?>">
<br><br> <br><br>
...@@ -226,10 +229,7 @@ if (null !== $this->data['errorCode']) { ...@@ -226,10 +229,7 @@ if (null !== $this->data['errorCode']) {
</div> <!-- form-panel --> </div> <!-- form-panel -->
<div id="AlternateLoginOptions" class="groupMargin"> <div id="AlternateLoginOptions" class="groupMargin">
<h3><?php echo $this->t('{privacyidea:privacyidea:alternate_login_options}'); ?></h3>
<h3><label><?php echo $this->t('{privacyidea:privacyidea:alternate_login_options}'); ?></label></h3>
<br>
<!-- Alternate Login Options--> <!-- Alternate Login Options-->
<input id="useWebAuthnButton" name="useWebAuthnButton" type="button" value="WebAuthn"/> <input id="useWebAuthnButton" name="useWebAuthnButton" type="button" value="WebAuthn"/>
<input id="usePushButton" name="usePushButton" type="button" value="Push"/> <input id="usePushButton" name="usePushButton" type="button" value="Push"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment