Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arsnova-lite
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
arsnova-lite
Commits
ecfa86a8
Verified
Commit
ecfa86a8
authored
7 years ago
by
Lukas Maximilian Kimpel
Browse files
Options
Downloads
Patches
Plain Diff
Add error message for invalid email
parent
3ab62ff9
1 merge request
!53
Resolve "login screen - password reset component logic"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/password-reset/password-reset.component.html
+1
-0
1 addition, 0 deletions
src/app/password-reset/password-reset.component.html
with
1 addition
and
0 deletions
src/app/password-reset/password-reset.component.html
+
1
−
0
View file @
ecfa86a8
...
...
@@ -4,6 +4,7 @@
<input
matInput
#email
placeholder=
"E-Mail"
[formControl]=
"usernameFormControl"
[errorStateMatcher]=
"matcher"
name=
"email"
/>
<mat-error
*ngIf=
"usernameFormControl.hasError('required')"
>
Email address is
<strong>
required
</strong>
.
</mat-error>
<mat-error
*ngIf=
"usernameFormControl.hasError('email') && !usernameFormControl.hasError('required')"
>
Email is not
<strong>
valid
</strong>
.
</mat-error>
</mat-form-field>
<button
mat-raised-button
color=
"primary"
(click)=
"resetPassword(email.value)"
>
Reset password
</button>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment