Enhance security by preventing the creation of default admin credentials in chat-users.json. Update chat.js to ensure command output does not pollute conversation history, and add chat-users.json to .gitignore to prevent tracking of sensitive user data.
This commit is contained in:
7
logs/chat-users.example.json
Normal file
7
logs/chat-users.example.json
Normal file
@@ -0,0 +1,7 @@
|
||||
[
|
||||
{
|
||||
"username": "admin",
|
||||
"passwordHash": "sha256:REPLACE_WITH_REAL_HASH",
|
||||
"rights": ["stat", "kick"]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user