Skip to content

Commit

Permalink
Remove needless cleaning of password
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-e committed Nov 7, 2017
1 parent 02aac90 commit 3216572
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/member.symphony.php
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,7 @@ public function filter_ValidatePassword(array &$context) {

$member_id = null;
if (isset($_POST['fields'][$this->section->getFieldHandle('authentication')]['validate'])) {
$password = Symphony::Database()->cleanValue(
$_POST['fields'][$this->section->getFieldHandle('authentication')]['validate']
);
$password = $_POST['fields'][$this->section->getFieldHandle('authentication')]['validate'];

if ($password) {
// Handle which is the Identity field, either the Member: Username or Member: Email field
Expand Down

0 comments on commit 3216572

Please sign in to comment.