feat: add admin-controlled authentication debug mode
This commit is contained in:
@@ -8,6 +8,9 @@ Authenticate WordPress user via json web token from Laravel Application.
|
||||
- Login via JWT token
|
||||
- Admin settings page
|
||||
- Custom invalid token page
|
||||
- Optional debug mode with full exception details and stack traces
|
||||
|
||||
Debug mode is disabled by default. An administrator can enable it from **Settings > Mahak Authentication** while troubleshooting. Because diagnostic pages expose server paths and other technical details to visitors of the login URL, disable it again after diagnosing the problem.
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -32,4 +35,4 @@ Payload JWT:
|
||||
"username" : "test-user"
|
||||
}
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user