Last active
January 31, 2022 18:24
-
-
Save BerkeSoysal/b960c4ff6ac0289c40b647a183dd133b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class PasswordService | |
{ | |
private PasswordHasher passwordHasher; | |
public PasswordService(PasswordHasher passwordHasher) | |
{ | |
this.passwordHasher = passwordHasher; | |
} | |
void hashPassword(String password) | |
{ | |
this.passwordHasher.hashPassword(password); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There should be
this.passwordHasher
instead ofhasher
. Line 12