diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-04-21 17:30:12 +0200 |
---|---|---|
committer | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-04-22 13:02:30 +0200 |
commit | c7b0024d2405d29e5c36445b6d28af046b2213f1 (patch) | |
tree | 4987ac0135c1f264ac90b20c6d479261d45baca7 /ogcp/cfg | |
parent | 1f9a3d3b4156aef3562efec41da3f2b6cc8ec74b (diff) |
Add password hashing
The front-end now hashes passwords before sending them to the back-end.
It uses SHA-512.
This commit adds a hidden input which sends the password hash to not
interfere with browsers' save password functionality.
Also change passwords of the template configuration file for their
hashed/digested versions.
Diffstat (limited to 'ogcp/cfg')
-rw-r--r-- | ogcp/cfg/ogcp.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ogcp/cfg/ogcp.json b/ogcp/cfg/ogcp.json index 0a47a07..7a04890 100644 --- a/ogcp/cfg/ogcp.json +++ b/ogcp/cfg/ogcp.json @@ -6,12 +6,12 @@ "USERS": [ { "USER": "admin", - "PASS": "pass", + "PASS": "5b722b307fce6c944905d132691d5e4a2214b7fe92b738920eb3fce3a90420a19511c3010a0e7712b054daef5b57bad59ecbd93b3280f210578f547f4aed4d25", "SCOPES": [ ] }, { "USER": "user", - "PASS": "pass", + "PASS": "5b722b307fce6c944905d132691d5e4a2214b7fe92b738920eb3fce3a90420a19511c3010a0e7712b054daef5b57bad59ecbd93b3280f210578f547f4aed4d25", "SCOPES": [ "Unidad Organizativa (Default)" ] |