Skip to content

Commit

Permalink
Temp remove unit scope check
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerviba committed Feb 27, 2024
1 parent 416222d commit 33ee7f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/hu/kirdev/schpincer/web/LoginController.kt
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ open class LoginController {
users.save(user)
}

if (rejectLogin(profile, user))
return "redirect:/?error=bmeUnitScopesInvalid"
// if (rejectLogin(profile, user))
// return "redirect:/?error=bmeUnitScopesInvalid"

auth = UsernamePasswordAuthenticationToken(code, state, getAuthorities(user))

Expand Down

0 comments on commit 33ee7f2

Please sign in to comment.