Merge branch 'master' into update-ruby-to-2-4

This commit is contained in:
Maciej Szlosarczyk 2018-08-27 17:07:49 +03:00
commit 08c15f095f
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
118 changed files with 976 additions and 726 deletions

View file

@ -4,7 +4,7 @@ module Repp
prefix :repp
http_basic do |username, password|
@current_user ||= ApiUser.find_by(username: username, password: password)
@current_user ||= ApiUser.find_by(username: username, plain_text_password: password)
if @current_user
true
else