Index: views/login/forgot-password.php =================================================================== diff -u -r573804d6fe0e793ed0cafdc8481a8f8d3bfd6834 -r89f83b1e693c132acf7481e435e3b01f471dc36d --- views/login/forgot-password.php (.../forgot-password.php) (revision 573804d6fe0e793ed0cafdc8481a8f8d3bfd6834) +++ views/login/forgot-password.php (.../forgot-password.php) (revision 89f83b1e693c132acf7481e435e3b01f471dc36d) @@ -1,6 +1,29 @@ pageTitle("Password Reset")?> pageStyle('loginpage')?> + $_SERVER['WP_URL'] . '/wp-json/wp/v2/pages?slug=landing-image', + CURLOPT_RETURNTRANSFER => true, + ); + curl_setopt_array($ch, $curlConfig); + $result = curl_exec($ch); + $res = json_decode($result); + // incase if this call errors out, it should automatically use the hardcoded image as specified in the skin.css + $bgUrl = is_string($res[0]->acf->landing_image->url) && strlen($res[0]->acf->landing_image->url) > 0 ? "url('" . $res[0]->acf->landing_image->url. "')" : null; + + curl_close($ch); +?> + + +

Reset Your Password

Index: views/login/set-new-password.php =================================================================== diff -u -r0f09ad23e132f606f4bab4e80b636acfe8943002 -r89f83b1e693c132acf7481e435e3b01f471dc36d --- views/login/set-new-password.php (.../set-new-password.php) (revision 0f09ad23e132f606f4bab4e80b636acfe8943002) +++ views/login/set-new-password.php (.../set-new-password.php) (revision 89f83b1e693c132acf7481e435e3b01f471dc36d) @@ -1,6 +1,29 @@ pageTitle('Set New Password')?> pageStyle('loginpage')?> + $_SERVER['WP_URL'] . '/wp-json/wp/v2/pages?slug=landing-image', + CURLOPT_RETURNTRANSFER => true, + ); + curl_setopt_array($ch, $curlConfig); + $result = curl_exec($ch); + $res = json_decode($result); + // incase if this call errors out, it should automatically use the hardcoded image as specified in the skin.css + $bgUrl = is_string($res[0]->acf->landing_image->url) && strlen($res[0]->acf->landing_image->url) > 0 ? "url('" . $res[0]->acf->landing_image->url. "')" : null; + + curl_close($ch); +?> + + +