From c7b0024d2405d29e5c36445b6d28af046b2213f1 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Thu, 21 Apr 2022 17:30:12 +0200 Subject: 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. --- ogcp/cfg/ogcp.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ogcp/cfg') 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)" ] -- cgit v1.2.3-18-g5258