Added forbiden urls and protected
This commit is contained in:
@ -38,4 +38,8 @@ public class UserService extends EventWatcher {
|
||||
return this.repo.getByAuthority(email.replace("\n", "").trim());
|
||||
}
|
||||
|
||||
public User getByToken(String token) {
|
||||
return this.repo.getByToken(token);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user