Config UI: Add authentication (#11732)

This commit is contained in:
Michael Geers 2024-04-03 21:17:27 +02:00 • committed by GitHub
parent 86c5d88015
commit dc13701d79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
40 changed files with 1241 additions and 57 deletions

8
tests/password.sql Normal file
View file

@ -0,0 +1,8 @@
CREATE TABLE IF NOT EXISTS `settings` (
`key` text
, `value` text
, PRIMARY KEY(`key`)
);
-- password: secret
INSERT INTO settings("key", value) VALUES('adminPassword', '$2a$10$HNLoqiTO5oLwopczA/wcPOebfO79S.hnAA5HOkx5p6o3g5a2E30v2');