浏览代码

Ident change

Daniel Bohry 8 月之前
父节点
当前提交
7b1af3b66d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/danielbohry/authservice/service/user/UserService.java

+ 2 - 2
src/main/java/com/danielbohry/authservice/service/user/UserService.java

@@ -21,12 +21,12 @@ public class UserService {
 
     public UserDetailsService userDetailsService() {
         return username -> repository.findByUsernameAndActiveTrue(username)
-                .orElseThrow(() -> new NotFoundException("User not found"));
+            .orElseThrow(() -> new NotFoundException("User not found"));
     }
 
     public ApplicationUser findByUsername(String username) {
         return repository.findByUsernameAndActiveTrue(username)
-                .orElseThrow(() -> new NotFoundException("User not found"));
+            .orElseThrow(() -> new NotFoundException("User not found"));
     }
 
     public ApplicationUser save(ApplicationUser applicationUser) {