IAlex has uploaded a new change for review.

Change subject: Correct check whether the e-mail field was filled in 
Special:Userlogin/signup
......................................................................

Correct check whether the e-mail field was filled in Special:Userlogin/signup

Use a strict comparison with '' instead of empty(), otherwise this allows user
to give "0" as an e-mail address.

Also use strval() if in any case null or something like that would be passed.

Change-Id: Ide7d35c52a04d05b43ae9fd37f7586bb4a67d4ed
---
M includes/specials/SpecialUserlogin.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/26/48126/1
--
To view, visit https://gerrit.wikimedia.org/r/48126
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ide7d35c52a04d05b43ae9fd37f7586bb4a67d4ed
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: IAlex <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to