2016-04-04 12:36:30 +00:00
|
|
|
<ol class="breadcrumb">
|
2017-03-07 14:30:56 +00:00
|
|
|
<li><a href="/">{{#translate}}Home{{/translate}}</a></li>
|
|
|
|
<li><a href="/users/login">{{#translate}}Sign in{{/translate}}</a></li>
|
|
|
|
<li class="active">{{#translate}}Password Reset{{/translate}}</li>
|
2016-04-04 12:36:30 +00:00
|
|
|
</ol>
|
|
|
|
|
2017-03-07 14:30:56 +00:00
|
|
|
<h2>{{#translate}}Reset your password?{{/translate}}</h2>
|
2016-04-04 12:36:30 +00:00
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
2016-08-11 12:44:43 +00:00
|
|
|
{{#if ldap.enabled}}
|
|
|
|
<p>
|
2017-03-07 14:30:56 +00:00
|
|
|
{{#translate}}Accounts are managed through LDAP.{{/translate}}
|
2016-08-29 10:57:27 +00:00
|
|
|
<br/>
|
2016-08-11 12:44:43 +00:00
|
|
|
<br/>
|
2017-03-07 14:30:56 +00:00
|
|
|
<a href="{{ldap.passwordresetlink}}">{{#translate}}Reset Password{{/translate}}</a>
|
2016-08-11 12:44:43 +00:00
|
|
|
</p>
|
|
|
|
{{else}}
|
2017-03-07 14:30:56 +00:00
|
|
|
<p>{{#translate}}Please provide the username or email address that you used when you signed up for your Mailtrain account.{{/translate}}</p>
|
|
|
|
<p>{{#translate}}We will send you an email that will allow you to reset your password.{{/translate}}</p>
|
2016-04-04 12:36:30 +00:00
|
|
|
|
2016-08-11 12:44:43 +00:00
|
|
|
<form class="form-horizontal" role="login" method="post" action="/users/forgot">
|
2016-04-04 12:36:30 +00:00
|
|
|
|
2016-08-11 12:44:43 +00:00
|
|
|
<input type="hidden" name="_csrf" value="{{csrfToken}}">
|
2016-04-04 12:36:30 +00:00
|
|
|
|
2016-08-11 12:44:43 +00:00
|
|
|
<div class="form-group">
|
2017-03-07 14:30:56 +00:00
|
|
|
<label for="usernameMain" class="col-sm-2 control-label">{{#translate}}Username{{/translate}}</label>
|
2016-08-11 12:44:43 +00:00
|
|
|
<div class="col-xs-4">
|
2017-03-07 14:30:56 +00:00
|
|
|
<input type="text" class="form-control" name="username" id="usernameMain" placeholder="{{#translate}}Username or email address{{/translate}}" autofocus required>
|
2016-08-11 12:44:43 +00:00
|
|
|
</div>
|
2016-04-04 12:36:30 +00:00
|
|
|
</div>
|
2016-08-11 12:44:43 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-sm-offset-2 col-xs-4">
|
2017-03-07 14:30:56 +00:00
|
|
|
<button type="submit" class="btn btn-primary">{{#translate}}Send verification email{{/translate}}</button>
|
2016-08-11 12:44:43 +00:00
|
|
|
</div>
|
2016-04-04 12:36:30 +00:00
|
|
|
</div>
|
2016-08-11 12:44:43 +00:00
|
|
|
</form>
|
|
|
|
{{/if}}
|