summaryrefslogtreecommitdiff
path: root/app/services/two_factor/base_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/two_factor/base_service.rb')
-rw-r--r--app/services/two_factor/base_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/two_factor/base_service.rb b/app/services/two_factor/base_service.rb
index 7d3f63f3442..0957d7ebabd 100644
--- a/app/services/two_factor/base_service.rb
+++ b/app/services/two_factor/base_service.rb
@@ -7,7 +7,8 @@ module TwoFactor
attr_reader :current_user, :params, :user
def initialize(current_user, params = {})
- @current_user, @params = current_user, params
+ @current_user = current_user
+ @params = params
@user = params.delete(:user)
end
end