mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-10 16:31:22 +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
|
def check_invite_users_permission
|
||||||
@user = current_user
|
@user = current_user
|
||||||
@emails = params[:emails]
|
@emails = params[:emails].map(&:downcase)
|
||||||
@team = Team.find_by_id(params['teamId'])
|
@team = Team.find_by_id(params['teamId'])
|
||||||
@role = params['role']
|
@role = params['role']
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue