mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
14 lines
212 B
Ruby
14 lines
212 B
Ruby
class Admin::SessionsController < SessionsController
|
|
layout 'admin/application'
|
|
|
|
def create
|
|
super
|
|
end
|
|
|
|
def login
|
|
end
|
|
|
|
def find_user_by_idc(idc)
|
|
AdminUser.find_by(identity_code: idc)
|
|
end
|
|
end
|