partey woka update
This commit is contained in:
@@ -80,6 +80,18 @@ public class UserManager implements UserDataProvider {
|
||||
return userRepository.findOne(qUser.username.equalsIgnoreCase(username)).orElse(null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the by bstly email.
|
||||
*
|
||||
* @param email the email
|
||||
* @return the by bstly email
|
||||
*/
|
||||
public User getByBstlyEmail(String email) {
|
||||
String username = email.replace("@"
|
||||
+ userEmailDomain, "");
|
||||
return getByUsername(username);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the by reset token.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user