internetee-registry/app/models/id_card.rb
Artur Beljajev a08f063640 Refactor ID card sign-in
- Extract to Devise custom strategy
- Use `SSL_CLIENT_S_DN_CN` env variable instead of `SSL_CLIENT_S_DN` to
get ID card data
- Remove `database_authenticatable` strategy from `RegistrantUser`

Closes #1047
2019-03-19 19:37:36 +02:00

6 lines
No EOL
132 B
Ruby

class IdCard
attr_accessor :first_name
attr_accessor :last_name
attr_accessor :personal_code
attr_accessor :country_code
end