Skip to content

Commit

Permalink
Fix typo spelling password
Browse files Browse the repository at this point in the history
  • Loading branch information
doklib authored and dsyer committed Feb 3, 2020
1 parent d65f37a commit 653b652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion single/README.adoc
Expand Up @@ -143,7 +143,7 @@ The login form also gets its own component:
include::src/app/login.component.html[indent=0]
----

This is a very standard login form, with 2 inputs for username and password and a button for submitting the form via an Angular event handler `(submit)`. You don't need an action on the form tag, so it's probably better not to put one in at all. There is also an error message, shown only if the angular model contains an `error`. The form controls use `ngModel` from https://angular.io/guide/reactive-forms[Angular Forms] to pass data between the HTML and the Angular controller, and in this case we are using a `credentials` object to hold the username and pasword.
This is a very standard login form, with 2 inputs for username and password and a button for submitting the form via an Angular event handler `(submit)`. You don't need an action on the form tag, so it's probably better not to put one in at all. There is also an error message, shown only if the angular model contains an `error`. The form controls use `ngModel` from https://angular.io/guide/reactive-forms[Angular Forms] to pass data between the HTML and the Angular controller, and in this case we are using a `credentials` object to hold the username and password.

== The Authentication Process

Expand Down

0 comments on commit 653b652

Please sign in to comment.