diff --git a/app/controllers/passwords_controller.rb b/app/controllers/passwords_controller.rb index da67abc6..7ca14716 100644 --- a/app/controllers/passwords_controller.rb +++ b/app/controllers/passwords_controller.rb @@ -5,6 +5,12 @@ class PasswordsController < Devise::PasswordsController attribute :user end + def create + super do |resource| + resource.errors.clear unless Docuseal.multitenant? + end + end + def update super do |resource| Current.user = resource