diff --git a/app/controllers/account_controller.rb b/app/controllers/account_controller.rb index aa5d22b4..4d96ad8f 100644 --- a/app/controllers/account_controller.rb +++ b/app/controllers/account_controller.rb @@ -196,15 +196,15 @@ private case Setting.self_registration when '1' register_by_email_activation(user) do - onthefly_creation_failed(user, {:login => user.login, :identity_url => identity_url }) + onthefly_creation_failed(user) end when '3' register_automatically(user) do - onthefly_creation_failed(user, {:login => user.login, :identity_url => identity_url }) + onthefly_creation_failed(user) end else register_manually_by_administrator(user) do - onthefly_creation_failed(user, {:login => user.login, :identity_url => identity_url }) + onthefly_creation_failed(user) end end else