feat: add configurable role for Mahak-created users
Build plugin release / release (push) Successful in 5s
Build plugin release / release (push) Successful in 5s
This commit is contained in:
@@ -9,6 +9,7 @@ Authenticate WordPress user via json web token from Laravel Application.
|
||||
- Admin settings page
|
||||
- Custom invalid token page
|
||||
- Optional debug mode with full exception details and stack traces
|
||||
- Configurable role for users created through Mahak authentication
|
||||
|
||||
Debug mode is disabled by default. An administrator can enable it from **Settings > Mahak Authentication** while troubleshooting. The debug page includes server clock/timezone data, safe JWT timing claims, and a Copy Markdown report. JWT contents, secrets, request parameters, and stack-trace arguments are omitted. Because diagnostic pages still expose server paths and other technical details to visitors of the login URL, disable it again after diagnosing the problem.
|
||||
|
||||
@@ -16,7 +17,9 @@ Debug mode is disabled by default. An administrator can enable it from **Setting
|
||||
|
||||
Administrators can check for and install published releases from **Settings > Mahak Authentication**. Updates also appear in WordPress's standard **Plugins** and **Updates** screens.
|
||||
|
||||
To publish an update, change the plugin `Version` header and `MAHAK_AUTHENTICATE_BRIDGE_VERSION` constant to the same version, commit the change, and push a matching tag such as `v2.3.0` to Mahgit. The Gitea Actions workflow builds and attaches the ZIP required by the WordPress updater.
|
||||
The **New user role** setting defaults to WordPress Default, using the site's current global new-user role without changing it. Administrators can select a different role only for accounts created by this plugin; existing users keep their current roles.
|
||||
|
||||
To publish an update, change the plugin `Version` header and `MAHAK_AUTHENTICATE_BRIDGE_VERSION` constant to the same version, commit the change, and push a matching tag such as `v2.4.0` to Mahgit. The Gitea Actions workflow builds and attaches the ZIP required by the WordPress updater.
|
||||
|
||||
## Usage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user