move JWT secret into ENV

This commit is contained in:
2021-03-31 17:58:47 +02:00
parent 55c890aca5
commit 1bc7293660
11 changed files with 63 additions and 17 deletions

View File

@@ -124,7 +124,7 @@ fun Application.module(env: Env = PROD) {
}
}
install(Authentication, jwtInstallation(get()))
install(Authentication, jwtInstallation(get(), get()))
install(AutoHeadResponse)