Skip to content

Commit

Permalink
Merge branch 'master' of github.com:fastlane/boarding into rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Liebowitz committed May 11, 2017
2 parents 1a7cbd1 + b99ca12 commit 8a4f872
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/controllers/invite_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ def submit
render :index
return
end

email = params[:email]
first_name = params[:first_name]
last_name = params[:last_name]

if ENV["RESTRICTED_DOMAIN"]
domains = ENV["RESTRICTED_DOMAIN"].split(",")
Expand All @@ -51,11 +55,7 @@ def submit
return
end
end

email = params[:email]
first_name = params[:first_name]
last_name = params[:last_name]


if email.length == 0
render :index
return
Expand Down

0 comments on commit 8a4f872

Please sign in to comment.