-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Would it be possible to add the oidc_no_permission_error_message filter hook to the AuthenticateHandler class to customize the error message when the current user has no permission?
In our case, we need to say which action a user needs to take to be able to login.
wp-openid-connect-server/src/Http/Handlers/AuthenticateHandler.php
Lines 79 to 82 in 3c5f3aa
| <p><?php esc_html_e( "You don't have permission to use OpenID Connect.", 'openid-connect-server' ); ?></p> | |
| <br/> | |
| <p><?php esc_html_e( 'Contact your administrator for more details.', 'openid-connect-server' ); ?></p> | |
| <br/> |
Please, let me know if there is any other way to achieve it.
Metadata
Metadata
Assignees
Labels
No labels