From b025dc2ba168394d3f8c3f6a550360ebdb2f3ba7 Mon Sep 17 00:00:00 2001 From: Holger Cremer Date: Tue, 17 Jul 2018 20:43:36 +0200 Subject: better method to change password --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 91a2ae3..9741ee2 100644 --- a/README +++ b/README @@ -78,4 +78,4 @@ but you need to modify a few things. * Create user `sqlite3 shop.db "INSERT INTO users (id, email, firstname, lastname) VALUES (1, "test@tester", "Firstname", "Lastname");` * Setup user password - `mdbus2 io.mainframe.shopsystem.Database /io/mainframe/shopsystem/database io.mainframe.shopsystem.Database.SetUserPassword 1 "password"` + sqlite3 shop.db "update authentication set password = '$(echo -n yourpw | shasum -a 256 | cut -d " " -f 1)' where user = 1;" \ No newline at end of file -- cgit v1.2.3