Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed misformed options array in entry/connect.

  • Loading branch information...
commit af1e6b4b5737ebfabd122b7102cefec2260848b1 1 parent 5710a2b
@tburry tburry authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  applications/dashboard/controllers/class.entrycontroller.php
View
3  applications/dashboard/controllers/class.entrycontroller.php
@@ -506,8 +506,7 @@ public function Connect($Method) {
$User['Name'] = $User['ConnectName'];
$User['Password'] = RandomString(50); // some password is required
$User['HashMethod'] = 'Random';
-
- $UserID = $UserModel->Register($User, array('CheckCaptcha' => FALSE), array('NoConfirmEmail' => TRUE));
+ $UserID = $UserModel->Register($User, array('CheckCaptcha' => FALSE, 'NoConfirmEmail' => TRUE));
$User['UserID'] = $UserID;
$this->Form->SetValidationResults($UserModel->ValidationResults());
Please sign in to comment.
Something went wrong with that request. Please try again.