Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293752

Query condition 'users_field_data.mail IN ()' cannot be empty

$
0
0

I get a exception when I make a curl request to /user/password with invalid parameters.
Ex:
curl -X POST --form name%5B0%5D="" --form form_id=user_pass -- http://test.local/user/password?name%5B0%5D

curl -X POST --form form_id=user_pass http://test.local/user/password?name%5B0%5D=""

Drupal\Core\Database\InvalidQueryException: Query condition 'users_field_data.mail IN ()' cannot be empty. in Drupal\Core\Database\Query\Condition->condition() (line 103 of web/core/lib/Drupal/Core/Database/Query/Condition.php).

I am not sure if this a user.module issue or not.


Viewing all articles
Browse latest Browse all 293752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>