oauth: fix password-based login when username is email address
authorWilliam Pitcock <nenolod@dereferenced.org>
Thu, 14 Jun 2018 02:29:52 +0000 (02:29 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Thu, 14 Jun 2018 02:32:30 +0000 (02:32 +0000)
commit544246656906714b895e077f940900fb0cd07068
tree57a5b4a222880218e3ecd2370048c4084a0d3f8c
parentea42ba603fd0d3acd744f9f0b8ffb402e3ff1b2c
oauth: fix password-based login when username is email address

closes #199
lib/pleroma/web/oauth/oauth_controller.ex