From 94d2111ca685745fb91db68cd7430389c056eeae Mon Sep 17 00:00:00 2001 From: William Brawner Date: Mon, 2 Mar 2020 01:42:51 +0000 Subject: [PATCH] Allow basic auth Signed-off-by: William Brawner --- .../kotlin/com/wbrawner/budgetserver/config/SecurityConfig.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/com/wbrawner/budgetserver/config/SecurityConfig.kt b/src/main/kotlin/com/wbrawner/budgetserver/config/SecurityConfig.kt index d34ad38..aa1467e 100644 --- a/src/main/kotlin/com/wbrawner/budgetserver/config/SecurityConfig.kt +++ b/src/main/kotlin/com/wbrawner/budgetserver/config/SecurityConfig.kt @@ -63,6 +63,8 @@ open class SecurityConfig( .anyRequest() .authenticated() .and() + .httpBasic() + .and() .cors() .configurationSource { with(CorsConfiguration()) {