Skip to content

Commit

Permalink
Pass email field to delegate on login failure
Browse files Browse the repository at this point in the history
  • Loading branch information
nilshoerrmann committed Jun 7, 2017
1 parent 8c0ef11 commit b0f355c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extension.driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,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 b0f355c

Please sign in to comment.