forked from External/greenlight
GRN2-252: Change to how sign ins are processed (#869)
* Social to local * Social/Local to Social * Rubocop fixes * Added test cases * Added the ability to clear social uids * Update admins_controller.rb * Update admins_controller.rb
This commit is contained in:
committed by
farhatahmad
parent
42e6e4f235
commit
005ec84c73
@ -115,7 +115,7 @@ describe PasswordResetsController, type: :controller do
|
||||
end
|
||||
|
||||
it "updates attributes if the password update is a success" do
|
||||
user = create(:user)
|
||||
user = create(:user, provider: "greenlight")
|
||||
token = "reset_token"
|
||||
|
||||
cost = ActiveModel::SecurePassword.min_cost ? BCrypt::Engine::MIN_COST : BCrypt::Engine.cost
|
||||
|
Reference in New Issue
Block a user