summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README2
1 files changed, 1 insertions, 1 deletions
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