Merge pull request #564 from mz3944/mz-SCI-856

Case insensitive email invitation
This commit is contained in:
mz3944 2017-04-19 09:36:46 +02:00 committed by GitHub
commit a0b5a94d67

View file

@ -186,7 +186,7 @@ module Users
def check_invite_users_permission
@user = current_user
@emails = params[:emails]
@emails = params[:emails].map(&:downcase)
@team = Team.find_by_id(params['teamId'])
@role = params['role']