mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
- 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
18 lines
No EOL
536 B
Text
18 lines
No EOL
536 B
Text
<div class="row">
|
|
<div class="form-signin col-md-6 center-block text-center">
|
|
<h2 class="form-signin-heading text-center">
|
|
<%= t '.header' %>
|
|
</h2>
|
|
<hr/>
|
|
<div class="row">
|
|
<%= t '.hint' %>
|
|
</div>
|
|
<br/>
|
|
<%= link_to '/registrant/login/mid' do %>
|
|
<%= image_tag 'mid.gif' %>
|
|
<% end %>
|
|
<%= link_to registrant_id_card_sign_in_path, method: :post do %>
|
|
<%= image_tag 'id_card.gif' %>
|
|
<% end %>
|
|
</div>
|
|
</div> |