* Implemented forgot password flow. Fixed a bug in manage user where admins were showing the Sharing With section. * Cleaned up the reset password flow. * Reverted some debug code * Fixed an issue with invites due to ImmutableArray not being set.
24 lines
1.1 KiB
HTML
24 lines
1.1 KiB
HTML
<app-splash-container>
|
|
<ng-container title><h2>Password Reset</h2></ng-container>
|
|
<ng-container body>
|
|
<p>Enter the email of your account. We will send you an email </p>
|
|
<form [formGroup]="registerForm" (ngSubmit)="submit()">
|
|
<div class="form-group" style="width:100%">
|
|
<label for="email">Email</label>
|
|
<input class="form-control" type="email" id="email" formControlName="email" required>
|
|
<div id="inviteForm-validations" class="invalid-feedback" *ngIf="registerForm.dirty || registerForm.touched">
|
|
<div *ngIf="registerForm.get('email')?.errors?.required">
|
|
This field is required
|
|
</div>
|
|
<div *ngIf="registerForm.get('email')?.errors?.email">
|
|
This must be a valid email address
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="float-right">
|
|
<button class="btn btn-secondary alt" type="submit">Submit</button>
|
|
</div>
|
|
</form>
|
|
</ng-container>
|
|
</app-splash-container>
|