Allow having multiple users for admin login.
* Use password hashes via bcrypt. * Trying to reduce the risk of timing attacks against login.
This commit is contained in:
parent
2eb0aab89f
commit
ad2db3427d
6 changed files with 317 additions and 41 deletions
|
@ -14,8 +14,12 @@
|
|||
|
||||
"internal": {
|
||||
"active": false,
|
||||
"user": "admin",
|
||||
"password": "secret"
|
||||
"users": [
|
||||
{
|
||||
"user": "admin",
|
||||
"passwordHash": "$2b$05$VPAg8XHOjhEXlY03SOe7huG1NE.UFvPLdukS0VMiolajdZjrdgj.W"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"email": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue