mirror of
https://github.com/internetee/registry.git
synced 2025-08-19 07:53:51 +02:00
Remove dead code
This commit is contained in:
parent
1eb13341a7
commit
3cddd24462
1 changed files with 1 additions and 6 deletions
|
@ -91,11 +91,6 @@ class Registrant::SessionsController < Devise::SessionsController
|
|||
end
|
||||
end
|
||||
|
||||
def find_user_by_idc(idc)
|
||||
return User.new unless idc
|
||||
ApiUser.find_by(identity_code: idc) || User.new
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def after_sign_in_path_for(_resource_or_scope)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue