refactor: checkPassword private -> public 범위변경
This commit is contained in:
@@ -77,7 +77,7 @@ public class User extends AbstractEntity {
|
||||
return this;
|
||||
}
|
||||
|
||||
private void checkPassword(PasswordMatches passwordMatches) {
|
||||
public void checkPassword(PasswordMatches passwordMatches) {
|
||||
if (!passwordMatches.passwordMatches(password)) {
|
||||
throw new PasswordMismatchException();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user