Skip to content

Commit

Permalink
Trim email address in user creation
Browse files Browse the repository at this point in the history
Fixes #20053
  • Loading branch information
vboctor committed Aug 28, 2015
1 parent 8685c3c commit 540a79b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manage_user_create.php
Expand Up @@ -87,6 +87,7 @@
trigger_error( ERROR_USER_CREATE_PASSWORD_MISMATCH, ERROR );
}

$f_email = trim( $f_email );
email_ensure_not_disposable( $f_email );

if( ( ON == config_get( 'send_reset_password' ) ) && ( ON == config_get( 'enable_email_notification' ) ) ) {
Expand Down

0 comments on commit 540a79b

Please sign in to comment.