mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[feature/oauth] Fix errors in ucp_auth_link
PHPBB3-11673
This commit is contained in:
@@ -21,7 +21,7 @@ class ucp_auth_link
|
||||
|
||||
public function main($id, $mode)
|
||||
{
|
||||
global $config, $request, $template, $phpbb_container;
|
||||
global $config, $request, $template, $phpbb_container, $user;
|
||||
|
||||
$error = array();
|
||||
|
||||
@@ -41,7 +41,7 @@ class ucp_auth_link
|
||||
|
||||
if (!sizeof($error) && $submit)
|
||||
{
|
||||
if (!check_form_key('ucp_reg_details'))
|
||||
if (!check_form_key('ucp_auth_link'))
|
||||
{
|
||||
$error[] = 'FORM_INVALID';
|
||||
}
|
||||
|
Reference in New Issue
Block a user