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
Artur Beljajev
be79ccacff
Improve readability
2019-03-19 19:21:36 +02:00
Artur Beljajev
3cddd24462
Remove dead code
2019-03-19 19:21:36 +02:00
Artur Beljajev
989bb32548
Improve readability
2018-07-16 01:31:36 +03:00
Artur Beljajev
f1cbdec8e7
Supply PaperTrail with current user
2018-07-16 01:06:30 +03:00
Artur Beljajev
a651ac8cab
Fix Rubocop warnings
2018-07-15 19:50:15 +03:00
Artur Beljajev
9684c8e59f
Refactor Devise integration
...
- Use scoped users
- Use the named route helpers instead of hardcoded paths
2018-06-20 12:21:22 +03:00
Artur Beljajev
c44f3df7f5
Remove Rubocop inline directives
2018-06-07 19:17:16 +03:00
Artur Beljajev
5e39af41e3
Remove test-dependent code
2018-01-11 15:25:03 +02:00
Georg Kahest
aa141b50d6
skip client.logger in TEST env
2017-04-12 16:02:22 +03:00
Georg Kahest
a606421b8b
log digidoc to same place as rails #448
2017-04-11 14:29:22 +03:00
Vladimir Krylov
da910bc660
Story#105842700 - Login user with ID card
2015-12-01 18:15:27 +02:00
Stas
6077f6c36d
105842700-portal
2015-12-01 15:21:40 +02:00
Priit Tark
7530d6ecab
Rubocop upgraded #2711
2015-06-26 18:19:36 +03:00
Priit Tark
e289366734
Registrant mid poll honors configured endpoint #2620
2015-06-25 14:26:03 +03:00
Martin Lensment
6256d4abee
Display verification code on mid sign in #2619
2015-06-25 10:53:44 +03:00
Martin Lensment
4b506d37e5
Rubocop fixes #2620
2015-06-16 17:00:19 +03:00
Martin Lensment
1783812e30
Fix registrant mid endpoint #2620
2015-06-16 16:58:03 +03:00
Martin Lensment
e0c21acba5
MID service name for registrant #2620
2015-06-08 14:22:34 +03:00
Martin Lensment
8f109718c7
Add mid login to registrant
2015-05-26 18:01:09 +03:00
Martin Lensment
27a71f02a3
Catch PKI errors
2015-05-25 11:50:00 +03:00
Priit Tark
d444552b9b
TEMP
2015-05-21 11:24:44 +03:00
Martin Lensment
f1288ae8cb
Add logging
2015-05-20 18:15:05 +03:00
Priit Tark
c08dc9aae7
Convert all session controllers directly under devise controller
2015-05-20 14:57:46 +03:00
Martin Lensment
a52e76e319
Read IDC data and create user
2015-05-14 19:02:33 +03:00
Martin Lensment
f621764e92
Log out env
2015-05-14 18:18:48 +03:00
Martin Lensment
ca2183817a
Add Registrant User
2015-05-14 18:02:31 +03:00
Priit Tark
688a71ebf1
Added basic Registrant portal
2015-05-13 13:02:08 +03:00