mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Rename users.password
to users.plain_text_password
Otherwise it conflicts with Devise
This commit is contained in:
parent
22e70e7707
commit
32ecf36057
19 changed files with 32 additions and 24 deletions
|
@ -45,6 +45,6 @@ RSpec.describe Repp::ContactV1, db: true do
|
|||
end
|
||||
|
||||
def http_auth_key
|
||||
ActionController::HttpAuthentication::Basic.encode_credentials(user.username, user.password)
|
||||
ActionController::HttpAuthentication::Basic.encode_credentials(user.username, user.plain_text_password)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue