Skip to content

Commit

Permalink
Merge pull request #285 from hananils/integration
Browse files Browse the repository at this point in the history
Minor fixes
  • Loading branch information
brendo authored Jun 11, 2017
2 parents 8c0ef11 + 96972e1 commit 7ae22ea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion extension.driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ public function __construct() {
else if(isset($members_section_id) && in_array((int)$members_section_id, $config_sections)) {
$this->setMembersSection($members_section_id);
}
else {
$this->setMembersSection($config_sections[0]);
}
}

extension_Members::$initialised = true;
Expand Down Expand Up @@ -952,7 +955,8 @@ public function checkFrontendPagePermissions($context) {
* The username of the Member who attempted to login.
*/
Symphony::ExtensionManager()->notifyMembers('MembersLoginFailure', '/frontend/', array(
'username' => Symphony::Database()->cleanValue($_POST['fields'][extension_Members::getFieldHandle('identity')])
'username' => Symphony::Database()->cleanValue($_POST['fields'][extension_Members::getFieldHandle('identity')]),
'email' => Symphony::Database()->cleanValue($_POST['fields'][extension_Members::getFieldHandle('email')])
));
}
}
Expand Down

0 comments on commit 7ae22ea

Please sign in to comment.