Skip to content

Commit

Permalink
style: ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeryboy committed Feb 21, 2024
1 parent 90abd29 commit 0fe2f6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ class DevAuthController(
?: userRepository.save(UserEntity("devUser", "Mock", "mock@abc.com", "0000-00000", Role.ROLE_STAFF))
val customPrincipal = CustomPrincipal(mockUser)
val authenticationToken = UsernamePasswordAuthenticationToken(
customPrincipal, null, listOf(
customPrincipal,
null,
listOf(
SimpleGrantedAuthority("ROLE_STAFF")
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ class DevAuthenticationProvider(private val userRepository: UserRepository) : Au
return UsernamePasswordAuthenticationToken::class.java.isAssignableFrom(authentication)
}
}

0 comments on commit 0fe2f6c

Please sign in to comment.