Skip to content

Commit a325487

Browse files
changed UserUtils.java
1 parent 3693d6e commit a325487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/hexlet/code/util/UserUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class UserUtils {
1313

1414
public User getCurrentUser() {
1515
var authentication = SecurityContextHolder.getContext().getAuthentication();
16-
if(authentication == null || !authentication.isAuthenticated()) {
16+
if (authentication == null || !authentication.isAuthenticated()) {
1717
return null;
1818
}
1919

0 commit comments

Comments
 (0)