mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-06 11:57:16 +08:00
fixes bug in the invitation_controller with full_name sanitization [fixes SCI-1944]
This commit is contained in:
parent
38aaaa011c
commit
488dba378e
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ module Users
|
|||
|
||||
def update_sanitized_params
|
||||
# Solution for Devise < 4.0.0
|
||||
devise_parameter_sanitizer.permit(:sign_up, keys: [:full_name])
|
||||
devise_parameter_sanitizer.permit(:accept_invitation, keys: [:full_name])
|
||||
end
|
||||
|
||||
def check_captcha
|
||||
|
|
Loading…
Add table
Reference in a new issue