1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fixes #941 - Rework password recovery and remove IsLocal checks

This commit is contained in:
Luke Pulverenti 2014-11-08 22:18:14 -05:00
parent 0adfd30015
commit 7f6f74fb54
11 changed files with 263 additions and 40 deletions

View file

@ -0,0 +1,42 @@
<!DOCTYPE html>
<html>
<head>
<title>${TitlePasswordReset}</title>
</head>
<body>
<div data-role="page" class="page standalonePage forgotPasswordPage">
<div data-role="content">
<form class="forgotPasswordPinForm" style="text-align: center; margin: 0 auto;">
<div style="text-align: left;">
<h2>${HeaderPasswordReset}</h2>
<label for="txtPin" style="text-align: left;">${LabelPasswordRecoveryPinCode}</label>
<input type="text" id="txtPin" required="required" />
<br />
<p>
<button type="submit" data-icon="check" data-theme="b">
${ButtonSubmit}
</button>
</p>
<p>
<a data-role="button" data-icon="delete" href="login.html">
${ButtonCancel}
</a>
</p>
</div>
</form>
</div>
<script type="text/javascript">
$('.forgotPasswordPinForm').off('submit', ForgotPasswordPinPage.onSubmit).on('submit', ForgotPasswordPinPage.onSubmit);
</script>
</div>
</body>
</html>