diff options
| -rw-r--r-- | phpBB/phpbb/ucp/controller/reset_password.php | 14 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/ucp_reset_password.html | 2 | 
2 files changed, 8 insertions, 8 deletions
diff --git a/phpBB/phpbb/ucp/controller/reset_password.php b/phpBB/phpbb/ucp/controller/reset_password.php index 82b9083175..9d736b26b8 100644 --- a/phpBB/phpbb/ucp/controller/reset_password.php +++ b/phpBB/phpbb/ucp/controller/reset_password.php @@ -275,9 +275,9 @@ class reset_password  		}  		$this->template->assign_vars([ -			'USERNAME'			=> $username, -			'EMAIL'				=> $email, -			'S_PROFILE_ACTION'	=> $this->helper->route('phpbb_ucp_forgot_password_controller'), +			'USERNAME'					=> $username, +			'EMAIL'						=> $email, +			'U_RESET_PASSWORD_ACTION'	=> $this->helper->route('phpbb_ucp_forgot_password_controller'),  		]);  		return $this->helper->render('ucp_reset_password.html', $this->language->lang('RESET_PASSWORD')); @@ -421,10 +421,10 @@ class reset_password  		}  		$this->template->assign_vars([ -			'S_IS_PASSWORD_RESET'	=> true, -			'ERROR'					=> !empty($errors) ? implode('<br />', array_map([$this->language, 'lang'], $errors)) : '', -			'S_PROFILE_ACTION'		=> $this->helper->route('phpbb_ucp_reset_password_controller'), -			'S_HIDDEN_FIELDS'		=> build_hidden_fields([ +			'S_IS_PASSWORD_RESET'		=> true, +			'ERROR'						=> !empty($errors) ? implode('<br />', array_map([$this->language, 'lang'], $errors)) : '', +			'U_RESET_PASSWORD_ACTION'	=> $this->helper->route('phpbb_ucp_reset_password_controller'), +			'S_HIDDEN_FIELDS'			=> build_hidden_fields([  				'u'		=> $user_id,  				'token'	=> $reset_token,  			]), diff --git a/phpBB/styles/prosilver/template/ucp_reset_password.html b/phpBB/styles/prosilver/template/ucp_reset_password.html index 8003a5646a..fffaa1b59e 100644 --- a/phpBB/styles/prosilver/template/ucp_reset_password.html +++ b/phpBB/styles/prosilver/template/ucp_reset_password.html @@ -1,6 +1,6 @@  <!-- INCLUDE overall_header.html --> -<form action="{{ S_PROFILE_ACTION }}" method="post" id="reset_password"> +<form action="{{ U_RESET_PASSWORD_ACTION }}" method="post" id="reset_password">  <div class="panel">  	<div class="inner">  | 
