mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
License dispenser changes (#3581)
* fix broken dashboard link, update forgot-password success message * Update forgot-password.ejs
This commit is contained in:
parent
5a44d8496f
commit
c59e13164b
2 changed files with 16 additions and 14 deletions
2
website/views/pages/customers/dashboard.ejs
vendored
2
website/views/pages/customers/dashboard.ejs
vendored
|
|
@ -95,7 +95,7 @@
|
|||
</div>
|
||||
<div class="pt-4 d-block">
|
||||
<div class="btn btn-info btn-sm mr-md-3 mb-3 mb-md-0" purpose="deploy-button">
|
||||
<a href="/docs/deploying/installation">
|
||||
<a href="/docs/deploying/introduction">
|
||||
How to deploy Fleet
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
28
website/views/pages/entrance/forgot-password.ejs
vendored
28
website/views/pages/entrance/forgot-password.ejs
vendored
|
|
@ -1,21 +1,23 @@
|
|||
<div id="forgot-password" v-cloak>
|
||||
<div style="max-width: 480px;" class="container-fluid pt-5 pb-5">
|
||||
<div v-if="!cloudSuccess">
|
||||
<h1 class="text-left pb-3">Forgot your password?</h1>
|
||||
<div class="card card-body mx-auto" v-if="!cloudSuccess">
|
||||
<ajax-form action="sendPasswordRecoveryEmail" :syncing.sync="syncing" :cloud-error.sync="cloudError" :form-data="formData" :form-rules="formRules" :form-errors.sync="formErrors" @submitted="submittedForm()">
|
||||
<div class="form-group">
|
||||
<label for="email-address">Email</label>
|
||||
<span style="float: right" class="text-right"><a href="/customers/login">I have an account</a></span>
|
||||
<input type="email" name="email-address" class="form-control" placeholder="example@email.com" :class="[formErrors.emailAddress ? 'is-invalid' : '']" v-model.trim="formData.emailAddress" autocomplete="email" focus-first>
|
||||
<div class="invalid-feedback" v-if="formErrors.emailAddress">Please enter a valid email address.</div>
|
||||
</div>
|
||||
<cloud-error v-if="cloudError"></cloud-error>
|
||||
<ajax-button purpose="submit-button" type="submit" :syncing="syncing" class="btn-info btn-lg btn-block">Reset password</ajax-button>
|
||||
</ajax-form>
|
||||
<div purpose="customer-portal-form" class="card card-body mx-auto">
|
||||
<ajax-form action="sendPasswordRecoveryEmail" :syncing.sync="syncing" :cloud-error.sync="cloudError" :form-data="formData" :form-rules="formRules" :form-errors.sync="formErrors" @submitted="submittedForm()">
|
||||
<div class="form-group">
|
||||
<label for="email-address">Email</label>
|
||||
<span style="float: right" class="text-right"><a href="/customers/login">I have an account</a></span>
|
||||
<input type="email" name="email-address" class="form-control" placeholder="example@email.com" :class="[formErrors.emailAddress ? 'is-invalid' : '']" v-model.trim="formData.emailAddress" autocomplete="email" focus-first>
|
||||
<div class="invalid-feedback" v-if="formErrors.emailAddress">Please enter a valid email address.</div>
|
||||
</div>
|
||||
<cloud-error v-if="cloudError"></cloud-error>
|
||||
<ajax-button purpose="submit-button" type="submit" :syncing="syncing" class="btn-info btn-lg btn-block">Reset password</ajax-button>
|
||||
</ajax-form>
|
||||
</div>
|
||||
</div>
|
||||
<div style="max-width: 450px;" class="mx-auto text-center" v-else>
|
||||
<div style="max-width: 480px;" class="mx-auto text-center" v-else>
|
||||
<h1 class="text-center pb-3">Password recovery sent</h1>
|
||||
<p>We've sent you a link to update your password.</p>
|
||||
<hr/>
|
||||
<p>
|
||||
If the email you entered is associated with a Fleet account, you should receive a recovery email shortly. If the email doesn’t arrive, please try again, or <a href="/contact">contact support</a>.
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue