Commit Graph

264 Commits

Author SHA1 Message Date
Maxime Besson
9d7e5c61cc handle empty string value for yubikey parameters (#2211) 2020-05-18 12:34:34 +02:00
Maxime Besson
7cc02dc179 Add auth routes for 2f choice screen (#2151) 2020-04-16 14:26:33 +02:00
Maxime Besson
4bcb391121 Add an easy way to set level of additional second factors (#2149) 2020-04-15 17:20:27 +02:00
Christophe Maudoux
c179654fc4 Fix typo notification reference & Update unit tests(#2133) 2020-04-03 18:26:22 +02:00
Christophe Maudoux
0ec9ff84e2 Fix test & notification reference (#2133) 2020-04-03 14:34:44 +02:00
Christophe Maudoux
2a34d1ae8c Update sessionInfo if second factor succeeds & Improve unit tests (#2129) 2020-04-01 15:43:46 +02:00
Maxime Besson
845ff2da85 fix param transmission in rest2f (#2123) 2020-03-26 10:58:27 +01:00
Christophe Maudoux
95ad4cac37 Improve code 2020-02-17 23:22:31 +01:00
Christophe Maudoux
385a1c1f38 Improve code & typo 2020-02-16 22:53:15 +01:00
Christophe Maudoux
c23b6c90ff Fix missing flags 2020-02-09 18:42:29 +01:00
Christophe Maudoux
f37c2399b1 Update sessionInfo during auth process with 2FA 2020-01-04 13:36:21 +01:00
Christophe Maudoux
a48daee305 Update sessionInfo during auth process 2020-01-03 23:39:57 +01:00
Maxime Besson
bedcf20806 Change portal error code on 2F failure (#2008) 2019-11-15 11:19:08 +01:00
Clément OUDOT
5512d38f81 Improve log on 2F unregistration (#1702) 2019-09-18 18:09:18 +02:00
Xavier
e50e7d09d1 Update version of (really) modified files 2019-09-12 21:56:49 +02:00
Clément OUDOT
82a06fce91 Pass skin parameter in 2F flows (#1915) 2019-09-03 11:56:48 +02:00
Maxime Besson
a04a376777 Make regular template variables available in mails
SKIN, PORTAL_URL, env_*, session_* are now available in email templates

Preliminary work for #1861
2019-08-27 23:13:36 +02:00
Maxime Besson
8de0a89029 Give more customization options for 2F prompt messages
new translations labels for mail and rest, and we now pass the 2F prefix
to templates. It's not used in the default skin, but it should help in
cases where extra second factors are used to offer the user a more
helpful prompt message
2019-08-05 20:08:28 +02:00
Maxime Besson
15c3b0bbf8 Add Radius second factor (#1847) 2019-08-02 18:03:10 +02:00
Maxime Besson
c1afdbefac Add labels and logos to all 2F providers (#1873) 2019-08-01 17:27:14 +02:00
Maxime Besson
d82f776df8 Allow multi instanciation of 2F modules (#1860)
This commit adds a manager interface to declare multiple instances of a
single 2F module, in a manner similar to Combination.

An additional portal code reads the `sfExtra` variable to load the
declared modules.

An empty rules means the module will be always active.
2019-07-22 19:30:37 +02:00
Xavier
a104db2f2d Clean logs 2019-07-04 07:24:50 +02:00
Xavier Guimard
c1137edba8 make tidy with perltidy-20181120 2019-07-02 20:03:40 +02:00
Clément OUDOT
b0a69d3473 Use skin rules in 2F plugins (#1828) 2019-06-28 15:56:57 +02:00
Xavier
c921c295ed Use user skin in loadTemplate (Fixes: #1828) 2019-06-28 13:40:56 +02:00
Xavier Guimard
44a6e25851 Improve cryptographic functions (#1823) 2019-06-28 10:30:37 +02:00
Christophe Maudoux
c4d4b482a5 Provide to plugins message display functions (#1796) 2019-06-18 22:00:03 +02:00
Christophe Maudoux
9fa11709e6 Append options to use Notifications plugin & set notification reference (#1796) 2019-06-17 22:31:44 +02:00
Christophe Maudoux
1b4d1b5bdf Avoid notification reference to be truncated (#1796) 2019-06-16 20:57:53 +02:00
Christophe Maudoux
d6f3dd459a Display message (#1796) 2019-06-16 16:02:48 +02:00
Christophe Maudoux
ecf84e8a4d WIP (#1796) 2019-06-14 23:09:32 +02:00
Christophe Maudoux
fde6ff2cc8 WIP (#1796) 2019-06-14 23:09:32 +02:00
Christophe Maudoux
73f689eca4 Fix 2F types (#1782) 2019-06-13 23:28:57 +02:00
Christophe Maudoux
c8295b60b5 Fix 2F types (#1782) 2019-06-13 23:27:30 +02:00
Xavier
c7ef665bf9 Fix #1782 2019-06-13 22:23:20 +02:00
Xavier
8d642da8cb Improve #1782 2019-06-13 22:10:30 +02:00
Christophe Maudoux
7a3ded7efb Improve code (#1782) 2019-06-10 20:56:38 +02:00
Christophe Maudoux
e3c2766809 Test 2F TTL (#1782) 2019-06-07 19:51:51 +02:00
Christophe Maudoux
491c54a3ee Fix Impersonation with 2FA (#1781) 2019-06-01 19:13:45 +02:00
Xavier
f3c4ea0afb Tydy 2019-05-11 20:18:43 +02:00
Clément OUDOT
755b1ace78 Add some debug in Ext2F (#1738) 2019-05-06 14:28:28 +02:00
Clément OUDOT
a7c8b9d466 Fix error handling in Ext2F (#1738) 2019-05-06 14:07:42 +02:00
Christophe Maudoux
321fe29c35 Update version 2019-04-29 22:33:11 +02:00
Christophe Maudoux
2e9092d2bd Clean code 2019-04-29 22:33:11 +02:00
Christophe Maudoux
a89b92f265 Improve code (#1386) 2019-04-29 22:33:11 +02:00
maudoux
4ff20f2d76 Fix Yubikey userLogger (#1702) 2019-04-09 23:40:16 +02:00
Xavier
a187e5c59b Fix some userLogger message (#1702) 2019-04-09 21:48:59 +02:00
Xavier Guimard
2159957c34 Update versions 2019-04-05 09:54:43 +02:00
Xavier Guimard
bc2bef4ff4 Please use our .perltidyrc 2019-03-07 18:22:58 +01:00
Christophe Maudoux
9679a67163 Tidy (#1632) 2019-02-16 22:42:08 +01:00
Christophe Maudoux
7802cbcc71 Optionaly let Ext2F module handle code generation (#1632) 2019-02-16 21:59:53 +01:00
Christophe Maudoux
90ddec7ce0 WIP - Optionaly let Ext2F module handle code generation (#1632) 2019-02-14 22:43:38 +01:00
Christophe Maudoux
60e80fe1b1 Improve code (#1629) 2019-02-14 22:41:58 +01:00
Christophe Maudoux
46f2beb10a Typo & perltidy (#1629) 2019-02-10 22:47:56 +01:00
Xavier Guimard
c7b4eb5051 tidy with new conf 2019-02-07 09:27:56 +01:00
Xavier Guimard
5886cbe2a0 Tidy 2019-02-05 23:12:17 +01:00
Xavier Guimard
0ddcaa5dc9 Update versions 2019-02-05 18:44:38 +01:00
Maxime Besson
f35a7c305a Add Mail second factor plugin 2019-02-03 14:46:40 +01:00
Christophe Maudoux
a69d19c2c0 Cleaning useless code 2019-01-23 22:47:42 +01:00
Christophe Maudoux
4ec3255989 Fix version 2019-01-22 22:08:43 +01:00
Christophe Maudoux
7b14c74077 perltidy (#1622) 2019-01-22 20:57:22 +01:00
Christophe Maudoux
6f7defef18 Display delete button only if allowed (#1622) 2019-01-22 20:55:57 +01:00
Christophe Maudoux
1de19778fe Display delete button only if allowed (#1622) 2019-01-22 19:31:37 +01:00
Christophe Maudoux
f2e481d693 Display delete button only if allowed (#1622) 2019-01-21 21:31:41 +01:00
Xavier Guimard
9ebc18ca5d Update version 2018-12-18 13:13:15 +01:00
Christophe Maudoux
caa408b424 Typo 2018-12-11 22:51:39 +01:00
Xavier Guimard
642e98e180 Fix some missing "lazy" (#1545) 2018-11-16 17:30:57 +01:00
Christophe Maudoux
490d3eb180 Revert "Fix badcredentials display (#1536)"
This reverts commit 48c5ccc34f
2018-11-06 09:15:59 +01:00
Christophe Maudoux
48c5ccc34f Fix badcredentials display (#1536) 2018-11-05 22:41:17 +01:00
Christophe Maudoux
36be3bc515 Fix 2nd merge conflict 2018-10-12 21:13:12 +02:00
Christophe Maudoux
8a500c9ec6 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng
Perltidy
2018-10-12 20:57:43 +02:00
Christophe Maudoux
94758563cf Append Portal main logo param (#1515) 2018-10-12 19:41:13 +02:00
Christophe Maudoux
f7f4a38514 Append Portal main logo param (#1515) 2018-10-12 19:40:13 +02:00
Clément OUDOT
c5f9a7f95b make tidy 2018-10-12 10:04:03 +02:00
Christophe Maudoux
5a832b57a7 Remove unuseful Perl version directive 2018-10-05 21:36:13 +02:00
Christophe Maudoux
0ed8dbdde2 Fix logins history update - Failed and Granted Access with and without SFA (#1501) 2018-09-12 23:14:35 +02:00
Christophe Maudoux
b23f96e268 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-09-05 21:20:38 +02:00
Christophe Maudoux
06ce4a0ce3 Append debug msg 2018-09-05 21:14:39 +02:00
Xavier Guimard
6278398060 Move "afterData" entry point before "buildCookie" and add "endAuth" entrypoint (#1497)
TODO: optimize notifications
2018-09-05 09:22:20 +02:00
Christophe Maudoux
9ef7c051a4 Change inheritance links to be more consistent with Plugins architecture 2018-09-04 21:05:08 +02:00
Christophe Maudoux
f51c11e507 Fix comment 2018-09-04 21:02:57 +02:00
Xavier Guimard
62d5c7836c make tidy 2018-09-02 17:31:58 +02:00
Christophe Maudoux
522d8a886c Check 2F name 2018-08-31 19:10:35 +02:00
Christophe Maudoux
095b1d2531 Append parameter test & error msg 2018-08-30 19:45:35 +02:00
Christophe Maudoux
329962e4a4 Fix typo & mistake 2018-08-29 12:42:34 +02:00
Christophe Maudoux
07b98fbd1f Typo 2018-08-27 19:00:03 +02:00
Christophe Maudoux
e4b69766d8 Fix mistake 2018-08-26 22:06:44 +02:00
Christophe Maudoux
c84bc72436 Hidde warning and improve debug msg 2018-08-21 17:37:14 +02:00
Christophe Maudoux
a0f1abeeb0 Cleaning unused code 2018-08-21 16:10:12 +02:00
Christophe Maudoux
0a14da298d Append unknownAction error + minor improvements 2018-08-20 11:36:23 +02:00
Christophe Maudoux
71f51926c0 Add comment 2018-08-18 23:15:38 +02:00
Christophe Maudoux
8954c67be9 clean unused code 2018-08-18 23:15:17 +02:00
Christophe Maudoux
ee9b3bdf2c Fix comments 2018-08-18 18:29:45 +02:00
Christophe Maudoux
d1dd7e10eb Cleaning unused code 2018-08-18 18:29:14 +02:00
Christophe Maudoux
995bc9b7a1 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-08-16 09:39:45 +02:00
Christophe Maudoux
b12d6872bb Fix typo 2018-08-16 09:39:27 +02:00
Xavier Guimard
52348ecbb0 Hide some warnings (#1487) 2018-08-15 22:47:23 +02:00
Xavier Guimard
bf7d85532d Replace bool by boolOrExpr for sfRequired + partial revert (#1487) 2018-08-15 20:42:08 +02:00
Christophe Maudoux
3ffc5c7410 Fix code 2018-08-13 23:14:42 +02:00
Christophe Maudoux
bf385a84ce Fix code 2018-08-13 23:05:57 +02:00