Remove need to authenticate for /users/login

Signed-off-by: Billy Brawner <billy@wbrawner.com>
This commit is contained in:
Billy Brawner 2019-09-24 17:25:37 -07:00
parent 8f1cb25966
commit c99ef28a2a

View file

@ -54,7 +54,7 @@ constructor(
@Throws(Exception::class)
public override fun configure(http: HttpSecurity) {
http.authorizeRequests()
.antMatchers("/users/new", "/login")
.antMatchers("/users/new", "/users/login")
.permitAll()
.anyRequest()
.authenticated()