mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 07:04:47 +02:00
Remove ID card logic from codebase
This commit is contained in:
parent
04f0ef9a93
commit
11ee1f9f1e
11 changed files with 3 additions and 162 deletions
|
@ -47,12 +47,6 @@ class ApiUser < User
|
|||
self.active = true unless saved_change_to_active?
|
||||
end
|
||||
|
||||
class << self
|
||||
def find_by_id_card(id_card)
|
||||
find_by(identity_code: id_card.personal_code)
|
||||
end
|
||||
end
|
||||
|
||||
def to_s
|
||||
username
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue