Skip to content

Commit

Permalink
Merge pull request #98 from Cognifide/feature/CLAN6-155-Move-admin-se…
Browse files Browse the repository at this point in the history
…ttings-file-into-mnt-directory

CLAN6-155 | `coboardInit` task updated
  • Loading branch information
Mateusz Bartkowiak authored Nov 13, 2019
2 parents 7268d3f + 6c731e8 commit 81ecfc2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Thumbs.db

*.jar
/knotx/conf/jwt.conf
/knotx/conf/admins.conf
/mnt/admins.conf
/mnt/*.json
/mnt/*.backup

Expand Down
2 changes: 1 addition & 1 deletion gradle/init.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
val configsToCopy = mapOf(
"config.json" to "/mnt",
"endpoints.json" to "/mnt",
"admins.conf" to "/knotx/conf",
"admins.conf" to "/mnt",
"jwt.conf" to "/knotx/conf"
)

Expand Down
2 changes: 1 addition & 1 deletion knotx/conf/routes/operations.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ routingOperations = ${routingOperations} [
name = login-handler
config {
include required(classpath("jwt.conf"))
include required(classpath("admins.conf"))
include required(classpath("data/admins.conf"))
wrongUserMsg = "Please, enter correct Username"
wrongPassMsg = "Please, enter valid Password"
}
Expand Down

0 comments on commit 81ecfc2

Please sign in to comment.