summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-server/src/main
diff options
context:
space:
mode:
authorvincent van beek <vincent@vlogic.nl>2026-03-31 13:51:28 +0200
committerGitHub <noreply@github.com>2026-03-31 12:51:28 +0100
commit07a2e0233a75e0cbc12c18b731d575a00a20aad2 (patch)
treecfcd198b8f3b4ae92a1679620f57aa0816d3a35f /opendc-web/opendc-web-server/src/main
parent0ae172363b8d9544b3cad15cfcb6733f2c814afb (diff)
Merge pull request #396 from atlarge-research/remove-test-settings
remove test flags for disabling authentication
Diffstat (limited to 'opendc-web/opendc-web-server/src/main')
-rw-r--r--opendc-web/opendc-web-server/src/main/resources/application-docker.properties8
-rw-r--r--opendc-web/opendc-web-server/src/main/resources/application-prod.properties2
2 files changed, 5 insertions, 5 deletions
diff --git a/opendc-web/opendc-web-server/src/main/resources/application-docker.properties b/opendc-web/opendc-web-server/src/main/resources/application-docker.properties
index 3a9dce27..f0b3e7dc 100644
--- a/opendc-web/opendc-web-server/src/main/resources/application-docker.properties
+++ b/opendc-web/opendc-web-server/src/main/resources/application-docker.properties
@@ -46,7 +46,7 @@ quarkus.smallrye-openapi.oidc-open-id-connect-url=https://${OPENDC_AUTH0_DOMAIN:
quarkus.smallrye-openapi.servers=https://api.opendc.org
# Enable the settings below if you want to test the docker-compose deployment locally
-quarkus.hibernate-orm.database.generation=drop-and-create
-quarkus.resteasy.path=/api
-quarkus.oidc.enabled=false
-opendc.security.enabled=false
+#quarkus.hibernate-orm.database.generation=drop-and-create
+#quarkus.resteasy.path=/api
+#quarkus.oidc.enabled=false
+#opendc.security.enabled=false
diff --git a/opendc-web/opendc-web-server/src/main/resources/application-prod.properties b/opendc-web/opendc-web-server/src/main/resources/application-prod.properties
index fe997fc0..835148f8 100644
--- a/opendc-web/opendc-web-server/src/main/resources/application-prod.properties
+++ b/opendc-web/opendc-web-server/src/main/resources/application-prod.properties
@@ -26,7 +26,7 @@ quarkus.datasource.jdbc.url=jdbc:h2:file:./data/opendc;DB_CLOSE_DELAY=-1;INIT=CR
quarkus.hibernate-orm.dialect=org.hibernate.dialect.H2Dialect
# Disable authentication
-opendc.security.enabled=false
+opendc.security.enabled=true
quarkus.oidc.enabled=${opendc.security.enabled}
# Mount web UI at root and API at "/api"