From 4bf16fa9ca3907442d3308af67ff466e6fdc0987 Mon Sep 17 00:00:00 2001 From: nik2208 Date: Thu, 17 Feb 2022 10:55:56 +0100 Subject: [PATCH] modified README.md for configurable Usertable Fields --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 505d60c5..78332bac 100644 --- a/README.md +++ b/README.md @@ -674,6 +674,9 @@ You can tune the middleware behavior using middleware specific configuration par - "dbAuth.usernameColumn": The users table column that holds usernames ("username") - "dbAuth.passwordColumn": The users table column that holds passwords ("password") - "dbAuth.returnedColumns": The columns returned on successful login, empty means 'all' ("") +- "dbAuth.usernameFormField": The name of the property used as username request field, empty means 'username' ("") +- "dbAuth.passwordFormField": The name of the property used as password request field, empty means 'password' ("") +- "dbAuth.newPasswordFormField": The name of the property used as newPassword request field, empty means 'newPassword' ("") - "dbAuth.registerUser": JSON user data (or "1") in case you want the /register endpoint enabled ("") - "dbAuth.passwordLength": Minimum length that the password must have ("12") - "dbAuth.sessionName": The name of the PHP session that is started ("")