Skip to content

Commit

Permalink
trim email-adress for pwd_reset.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bratkartoffel committed Apr 5, 2023
1 parent b4cc56d commit 3f02b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/pwd_reset.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

ob_start();

$email = getOrDefault($_POST, 'email');
$email = trim(getOrDefault($_POST, 'email'));

function sendRecoveryMail(string $email, string $name, string $resetLink): bool
{
Expand Down

0 comments on commit 3f02b40

Please sign in to comment.