| 1 |
<?php |
| 2 |
/** |
| 3 |
* Standalone error page for public token endpoints. |
| 4 |
* |
| 5 |
* @package dologin |
| 6 |
*/ |
| 7 |
|
| 8 |
namespace dologin; |
| 9 |
|
| 10 |
defined( 'WPINC' ) || exit; |
| 11 |
|
| 12 |
// Secret-bearing token URLs must not leak through referrers. |
| 13 |
if ( ! headers_sent() ) { |
| 14 |
header( 'Referrer-Policy: no-referrer' ); |
| 15 |
} |
| 16 |
?> |
| 17 |
<!DOCTYPE html> |
| 18 |
<html <?php language_attributes(); ?>> |
| 19 |
<head> |
| 20 |
<meta charset="<?php bloginfo( 'charset' ); ?>" /> |
| 21 |
<meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 22 |
<meta name="robots" content="noindex,nofollow" /> |
| 23 |
<title><?php esc_html_e( 'DoLogin Security', 'dologin' ); ?></title> |
| 24 |
</head> |
| 25 |
<body style="margin:0;background:#f0f0f1;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif;color:#1d2327;"> |
| 26 |
<main style="max-width:520px;margin:60px auto;padding:24px;background:#fff;border:1px solid #dcdcde;border-radius:8px;text-align:center;"> |
| 27 |
<h1 style="margin:0 0 16px;font-size:1.3em;"><?php esc_html_e( 'DoLogin Security', 'dologin' ); ?></h1> |
| 28 |
<p style="margin:0;line-height:1.5;color:#b32d2e;"><?php echo esc_html( $message ); ?></p> |
| 29 |
<p style="margin:20px 0 0;"><a href="<?php echo esc_url( wp_login_url() ); ?>" style="color:#2271b1;text-decoration:underline;"><?php esc_html_e( 'Go to the login page', 'dologin' ); ?></a></p> |
| 30 |
</main> |
| 31 |
</body> |
| 32 |
</html> |
| 33 |
|