mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Handlers for mid login
This commit is contained in:
parent
0ecbd87004
commit
418bd2046c
16 changed files with 173 additions and 7 deletions
|
@ -7,4 +7,8 @@ class Admin::SessionsController < SessionsController
|
|||
|
||||
def login
|
||||
end
|
||||
|
||||
def find_user_by_idc(idc)
|
||||
AdminUser.find_by(identity_code: idc)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue