Skip to content

Commit 5bd0395

Browse files
authoredSep 24, 2018
Fix misprint: passwordEcoder -> passwordEncoder
1 parent c51e78c commit 5bd0395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎knpu/ep4-security/user-password.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ autocomplete and get the `use` statement I need on top. Call it `$passwordEncode
9898
Press Alt+Enter and select initialize fields to create that property and set it.
9999

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

0 commit comments

Comments
 (0)
Please sign in to comment.