If you have activated the "Block Logins" option, logins from non-permitted countries are not allowed. The module then simply displays a white page.
If you want to display a custom page, or if you want to redirect to another page, you can do this via the file "custom_error_page.php".
To activate this feature, follow these steps:
Those were all the necessary steps. From now on the content of this file will be displayed.
Since this is a PHP file, this procedure is also suitable for executing your own events in case of an invalid login.