Skip to content

Commit

Permalink
Fix misprint: passwordEcoder -> passwordEncoder
Browse files Browse the repository at this point in the history
  • Loading branch information
bocharsky-bw committed Sep 24, 2018
1 parent c51e78c commit 5bd0395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion knpu/ep4-security/user-password.md
Expand Up @@ -98,7 +98,7 @@ autocomplete and get the `use` statement I need on top. Call it `$passwordEncode
Press Alt+Enter and select initialize fields to create that property and set it.

Now... the fun part: `$user->setPassword()`. But, instead of setting the plain password
here - which would be *super* uncool... - say `$this->passwordEcoder->encodePassword()`.
here - which would be *super* uncool... - say `$this->passwordEncoder->encodePassword()`.
This needs two arguments: the `$user` object and the plain-text password we want
to use. To make life easier for my brain, we'll use the same for everyone: `engage`.

Expand Down

0 comments on commit 5bd0395

Please sign in to comment.