oauth: support either name or username parameter with grant_type=password
authorWilliam Pitcock <nenolod@dereferenced.org>
Thu, 14 Jun 2018 01:45:10 +0000 (01:45 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Thu, 14 Jun 2018 02:07:43 +0000 (02:07 +0000)
commit4894b88b1b40705e8d5236d4b417ce2791e3b8fd
tree264835f68b08472628574e3ba9dd1c6a2b453d6d
parentea42ba603fd0d3acd744f9f0b8ffb402e3ff1b2c
oauth: support either name or username parameter with grant_type=password

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