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:
parent
0adfd30015
commit
7f6f74fb54
11 changed files with 263 additions and 40 deletions
43
dashboard-ui/forgotpassword.html
Normal file
43
dashboard-ui/forgotpassword.html
Normal file
|
@ -0,0 +1,43 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>${TitleForgotPassword}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div data-role="page" class="page standalonePage forgotPasswordPage">
|
||||
|
||||
<div data-role="content">
|
||||
|
||||
<form class="forgotPasswordForm" style="text-align: center; margin: 0 auto;">
|
||||
|
||||
<div style="text-align: left;">
|
||||
<h2>${HeaderForgotPassword}</h2>
|
||||
|
||||
<label for="txtName" style="text-align: left;">${LabelUser}</label>
|
||||
<input type="text" id="txtName" />
|
||||
<div class="fieldDescription">${LabelForgotPasswordUsernameHelp}</div>
|
||||
|
||||
<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">
|
||||
$('.forgotPasswordForm').off('submit', ForgotPasswordPage.onSubmit).on('submit', ForgotPasswordPage.onSubmit);
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue