mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-19 22:11:45 +08:00
Merge pull request #564 from mz3944/mz-SCI-856
Case insensitive email invitation
This commit is contained in:
commit
a0b5a94d67
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||
|
||||
|
|
Loading…
Reference in a new issue