Skip to content

Commit

Permalink
Hotfix for local accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
farhatahmad committed Nov 1, 2023
1 parent 1eb1917 commit 533f6ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/services/user_creator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def initialize(user_params:, provider:, role:)
end

def call
@user_params[:email] = @user_params[:email].downcase
email_role = infer_role_from_email(@user_params[:email])

User.new({
Expand Down

0 comments on commit 533f6ba

Please sign in to comment.