Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions etc/permissions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Admin": {
".*": "rwx"
".*": "rwx"
}
}
}
8 changes: 4 additions & 4 deletions etc/users.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Admin": {"password": "QWRtaW4="},
"User": {"password": "VXNlcg=="},
"Guest": {"password": "R3Vlc3Q="}
}
"Admin": {
"password": "$2b$12$W/OqAVeNxl0gXMAmtMbI8ums1mEetMXn5YmoLFLw2n1rGe4NciqTO"
}
}
6 changes: 6 additions & 0 deletions nio.conf
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,9 @@ ssl_certificate:
ssl_private_key:
# optional certificate chain
ssl_certificate_chain:


[security]
# boolean to allow passwords to be stored as plain text or bcrypt hashes
#
allow_unhashed_passwords=false
4 changes: 4 additions & 0 deletions nio.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,10 @@ subscriber_client_secret_cert=[[SUBSCRIBER_CLIENT_SECRET_CERT]]
#
#permissions=etc/permissions.json

# boolean to allow passwords to be stored as plain text or bcrypt hashes
#
#allow_unhashed_passwords=true

# [security.oauth]
#
## json configuration that maps users to permissions - can point to a conf file
Expand Down