mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/oauth] Fix errors in ucp_auth_link
PHPBB3-11673
This commit is contained in:
parent
67b1ec5bb8
commit
ce387d9bfc
1 changed files with 2 additions and 2 deletions
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue