- Add own Reset password template - Check password history and validation in Reset Password - Add expireTimeInMinute in passwordOptions to control expire time of reset link - Show sending notification while reset link is sent
42 lines
2.2 KiB
HTML
42 lines
2.2 KiB
HTML
|
|
<template name="resetPassword">
|
|
{{#if resetPassword}}
|
|
<div id="resetPassword" class="page entryPage" style="{{getOpacityWithCorner}}">
|
|
<div class="content-scrollable">
|
|
<div class="wrapper-auth">
|
|
<div class="entryLogo" style="background-image: url('{{getLogoUrl}}')"></div>
|
|
|
|
<h1 id="signInPageTitle" class="title-auth">Reset Password</h1>
|
|
<p id="signInPageMessage" class="subtitle-auth" style="{{getResetPasswordInMessageColor}}">{{{getResetPasswordMessage}}}</p>
|
|
|
|
<form>
|
|
{{#if resetPasswordErrorMessages}}
|
|
<div id="errorMessages" class="list-errors">
|
|
{{#each resetPasswordErrorMessages}}
|
|
<div class="alert alert-danger list-item">{{this}}</div>
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|
|
<div class="input-symbol ">
|
|
<input id="resetPasswordInput" type="password" name="password" placeholder="Password" style="{{getPasswordStyling}}" />
|
|
<span class="fa fa-lock" title="Password"></span>
|
|
<!-- <span class="icon-lock" title="Password"></span> -->
|
|
</div>
|
|
<br>
|
|
<br>
|
|
|
|
<div class="input-symbol">
|
|
<input id="resetPasswordConfirmInput" type="password" name="confirm" placeholder="Confirm Password" style="{{getConfirmPasswordStyling}}" />
|
|
<span class="fa fa-lock" title="Confirm Password"></span>
|
|
<!-- <span class="icon-lock" title="Confirm Password"></span> -->
|
|
</div>
|
|
<br>
|
|
<br>
|
|
</form>
|
|
<button id="resetPasswordButton" type="submit" class="btn-gray btn-main btn-large" style="{{getButtonColor}}">Reset Password</button><br><br>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
</template> |