mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
welcome page
This commit is contained in:
@@ -33,7 +33,7 @@ public class UserService {
|
||||
|
||||
public Optional<User> login(String name, String password) {
|
||||
if (name == null || password == null) {
|
||||
return null;
|
||||
return Optional.absent();
|
||||
}
|
||||
|
||||
User user = userDAO.findByName(name);
|
||||
|
||||
Reference in New Issue
Block a user