web/flows: fix missing padding on authenticator_validate card (#13420)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -93,10 +93,12 @@ export class AuthenticatorValidateStageWebCode extends BaseDeviceStage<
|
|||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
name="code"
|
name="code"
|
||||||
inputmode="${this.deviceChallenge?.deviceClass === DeviceClassesEnum.Static
|
inputmode="${this.deviceChallenge?.deviceClass ===
|
||||||
|
DeviceClassesEnum.Static
|
||||||
? "text"
|
? "text"
|
||||||
: "numeric"}"
|
: "numeric"}"
|
||||||
pattern="${this.deviceChallenge?.deviceClass === DeviceClassesEnum.Static
|
pattern="${this.deviceChallenge?.deviceClass ===
|
||||||
|
DeviceClassesEnum.Static
|
||||||
? "[0-9a-zA-Z]*"
|
? "[0-9a-zA-Z]*"
|
||||||
: "[0-9]*"}"
|
: "[0-9]*"}"
|
||||||
placeholder="${msg("Please enter your code")}"
|
placeholder="${msg("Please enter your code")}"
|
||||||
@ -115,7 +117,10 @@ export class AuthenticatorValidateStageWebCode extends BaseDeviceStage<
|
|||||||
${this.renderReturnToDevicePicker()}
|
${this.renderReturnToDevicePicker()}
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>`;
|
</div>
|
||||||
|
<footer class="pf-c-login__main-footer">
|
||||||
|
<ul class="pf-c-login__main-footer-links"></ul>
|
||||||
|
</footer>`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user