Commit Graph

1839 Commits

Author SHA1 Message Date
Clément OUDOT
1a2de167d1 Reject invalid OIDC scopes (#1599) 2018-12-21 14:32:01 +01:00
Xavier Guimard
c6ff9dcf0b Display error if a plugin sets it (#595) 2018-12-21 11:26:11 +01:00
Xavier Guimard
eb1f94bcba Fix version 2018-12-21 08:17:20 +01:00
Clément OUDOT
2a138ced29 Downgrade DN when searching groups (#1573) 2018-12-20 17:56:10 +01:00
Christophe Maudoux
d3be4b00c4 Revert "Fix resendconfirmation (#1589)"
This reverts commit d576702e78
2018-12-20 09:19:27 +01:00
Xavier Guimard
76927ef053 Move TROVER into sendHtml() (#1586) 2018-12-19 23:28:40 +01:00
Christophe Maudoux
0d5287cfdc Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-12-19 22:22:53 +01:00
Christophe Maudoux
d576702e78 Fix resendconfirmation (#1589) 2018-12-19 22:22:40 +01:00
Christophe Maudoux
633db01d3a Typo (#1589) 2018-12-18 22:38:58 +01:00
Xavier Guimard
9ebc18ca5d Update version 2018-12-18 13:13:15 +01:00
Christophe Maudoux
607442a2cd Cleaning code #1587 2018-12-17 23:04:24 +01:00
Christophe Maudoux
4af167ff9b WIP - Display error if mail already exists (#1587) 2018-12-17 22:45:37 +01:00
Christophe Maudoux
e15631e32c Fix warning msg (#1587) 2018-12-17 22:01:54 +01:00
Christophe Maudoux
8da5cd17c7 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-12-17 21:31:45 +01:00
Christophe Maudoux
9f6a992390 Fix staticPrefix param 2018-12-17 21:31:38 +01:00
Xavier Guimard
3cd14656f5 Add "all" trOver in mails (Fixes: #1586) 2018-12-17 21:09:24 +01:00
Xavier Guimard
dc0e173cf2 Fix #1588 2018-12-17 19:34:28 +01:00
Xavier Guimard
bda42738ee Fix warning 2018-12-17 19:34:06 +01:00
Xavier Guimard
843e18c64e Initialize user() in $req (#1591) 2018-12-17 18:44:12 +01:00
Clément OUDOT
5aad03fdb9 New custom parameter (customMenuTabs) to allow display of custom tab (#1596) 2018-12-17 18:27:31 +01:00
Clément OUDOT
a3c982f470 Add oidcConsents in menu tabs list (#1593) 2018-12-17 15:16:01 +01:00
Clément OUDOT
124169fc66 Fix code to select tab in menu (#1592) 2018-12-17 15:09:01 +01:00
Clément OUDOT
28208a5f2d Allow mail template message override (#1586) 2018-12-17 11:50:40 +01:00
Christophe Maudoux
658a7a88c0 Append show_lang and main_logo parameters & Fix URL typo (#1585) 2018-12-15 16:05:48 +01:00
Christophe Maudoux
aa45cf148a Append bruteForce Protection number of allowed failed Login parameter (#1506) 2018-12-12 23:51:33 +01:00
Christophe Maudoux
caa408b424 Typo 2018-12-11 22:51:39 +01:00
Christophe Maudoux
185b3114a3 Append authLogout function to Auth::SSL.pm (#1564) 2018-12-01 16:05:29 +01:00
Xavier Guimard
f6f1072ef6 Fix double init (#1550) 2018-11-29 21:19:39 +01:00
Clément OUDOT
f41d92ac5e Remove choice data in logout (#1555) 2018-11-28 11:37:21 +01:00
Xavier Guimard
11857d9f8a make tidy 2018-11-26 14:40:21 +01:00
Xavier Guimard
81a364cc70 May solve #1555 2018-11-26 14:34:43 +01:00
Christophe Maudoux
ef5b4bcc36 Improve code ;-) (#1550) 2018-11-25 20:50:12 +01:00
Clément OUDOT
9861799814 Restore portalRequireOldPassword value (#1554) 2018-11-24 12:01:31 +01:00
Clément OUDOT
8552c9c5f2 tidy code (#1554) 2018-11-24 12:00:41 +01:00
Christophe Maudoux
3167aaeeb0 Avoid warning msg 2018-11-23 23:10:01 +01:00
Christophe Maudoux
217e4c43f3 Fix display (#1550) 2018-11-23 22:08:06 +01:00
Christophe Maudoux
e62597546e WIP - Fix call Custom with Choice (#1550) 2018-11-22 19:59:43 +01:00
Christophe Maudoux
448f39ff1c Fix return value (#1550) 2018-11-21 20:58:42 +01:00
Xavier Guimard
685426348a Check pwdnew=pwdconfirm even if old pwd is not required
Closes: #1547
2018-11-19 18:50:35 +01:00
Christophe Maudoux
8217c4c567 Display form again when an error occures (#1508) 2018-11-16 22:03:06 +01:00
Xavier Guimard
642e98e180 Fix some missing "lazy" (#1545) 2018-11-16 17:30:57 +01:00
Xavier Guimard
69cdd66444 Password::Choice wasn't called (#1508 #1517) 2018-11-16 15:08:27 +01:00
Christophe Maudoux
0f4046ce26 perltidy (#1508) 2018-11-15 21:20:06 +01:00
Christophe Maudoux
72b42a516f Append reset password retries number parameter (#1508) 2018-11-15 21:16:46 +01:00
Christophe Maudoux
b1747a95df Display form again when an error occures (#1508) 2018-11-15 19:26:16 +01:00
Christophe Maudoux
e9c2ade53c Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-11-15 19:20:20 +01:00
Christophe Maudoux
c319ce47c3 Display form again when an error occures (#1508) 2018-11-15 19:19:20 +01:00
Clément OUDOT
e62d865a28 Put session data in templates (#1542) 2018-11-15 11:41:06 +01:00
Clément OUDOT
584b79f30c Avoid warning if user not defined in log message (#1508) 2018-11-14 11:05:05 +01:00
Clément OUDOT
356a588a92 Fix DN encoding issue in LDAP password modification (#1540) 2018-11-14 10:15:28 +01:00
Christophe Maudoux
c0a9a726f3 WIP - Display form again when an error occures (#1508) 2018-11-13 23:29:28 +01:00
Xavier Guimard
e317d180b9 Fix MailReset for DBI (#1508)
Same todo with other Password::* backends
2018-11-13 11:30:45 +01:00
Xavier Guimard
e966399cc0 Typo (#1508) 2018-11-13 08:27:53 +01:00
Xavier Guimard
61eb91b7aa Store pdata in mailToken (#1508) 2018-11-13 06:53:21 +01:00
Christophe Maudoux
16fd5c53a7 Append manager option to enable langs display (#1539) 2018-11-07 20:50:33 +01:00
Christophe Maudoux
87c85c5b01 Append manager option to enable langs display (#1539) 2018-11-07 20:10:31 +01:00
Christophe Maudoux
6d7c50ce6d Improve Login History display (#1501) 2018-11-06 21:34:48 +01:00
Christophe Maudoux
4e53ee31c0 Fix badcredentials display - Improve code (#1536) 2018-11-06 19:49:57 +01:00
Christophe Maudoux
ee40242039 Fix badcredentials display (#1536) 2018-11-06 13:43:07 +01:00
Christophe Maudoux
824ab9a70f Return PE_OK to process $req next step (#1536) 2018-11-06 09:37:40 +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
29dec806c0 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-10-31 22:46:09 +01:00
Christophe Maudoux
1e17506ee1 Fix warning msg (#1532) 2018-10-31 22:46:03 +01:00
Clément OUDOT
d577fb8ede Store ipAddr in env (#1534) 2018-10-31 17:58:46 +01:00
Christophe Maudoux
61a12a149f Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-10-30 20:32:29 +01:00
Christophe Maudoux
3211236904 Set default formAction CSP (#1499) 2018-10-30 20:32:20 +01:00
Christophe Maudoux
304216bd52 Improve code (#1533) 2018-10-30 19:42:54 +01:00
Christophe Maudoux
3ac5f0f02b Update Choice.pm 2018-10-30 07:44:04 +01:00
Christophe Maudoux
93d16407e6 Fix debug messages (#1533) 2018-10-29 23:25:19 +01:00
Christophe Maudoux
78423bf151 Update persistent session only if oidcConsents are converted (#1533) 2018-10-29 23:10:34 +01:00
Christophe Maudoux
37c6498e3c Avoid append same URL (#1532) 2018-10-29 22:14:51 +01:00
Christophe Maudoux
52a7f884f6 Append URL test (#1532) 2018-10-29 22:10:49 +01:00
Clément OUDOT
badc7a0cad Add AD password module (#1530) 2018-10-29 18:35:25 +01:00
Clément OUDOT
4038bbb798 Fix call to returnCasServiceValidateError 2018-10-29 08:10:01 +01:00
Clément OUDOT
0839c9e3fd Clear pdata when redirecting in CAS gateway mode (#1528) 2018-10-29 07:45:57 +01:00
Clément OUDOT
9f4311105f Force continue to replay SAML authentication (#1513) 2018-10-28 13:26:50 +01:00
Christophe Maudoux
aaaa8f54f5 Append debug messages & Fix issue (#1509) 2018-10-23 21:35:44 +02:00
Christophe Maudoux
8ba4d112cc Append debug messages (#1509) 2018-10-22 22:40:20 +02:00
Christophe Maudoux
14391d07d1 Append debug messages (#1509) 2018-10-22 22:28:37 +02:00
Clément OUDOT
7690a56843 Put simple values in buil_urlencoded args (#1527) 2018-10-19 11:29:11 +02:00
Christophe Maudoux
4df8ce2c0e Set formAction CSP from Manager (#1499) 2018-10-18 19:51:50 +02:00
Xavier Guimard
f92a925fee Restore custom messages (#1518) 2018-10-17 10:49:30 +02:00
Clément OUDOT
30b7ce6396 Use main logo in mails (#1515) 2018-10-17 10:43:41 +02:00
Clément OUDOT
3445b697c0 Set authChoice in request data (#1524) 2018-10-16 17:25:43 +02:00
Clément OUDOT
ce24a05168 Test if Choice condition is not empty (#1500) 2018-10-16 15:10:30 +02:00
Clément OUDOT
ba630d5117 Test if Choice condition is not empty (#1500) 2018-10-16 15:07:56 +02:00
Christophe Maudoux
c031e63f5e Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-10-15 21:14:33 +02:00
Christophe Maudoux
05f207927f Fix syntax error (#1522) 2018-10-15 21:06:08 +02:00
Xavier Guimard
6331338105 Fix warning in inheritance 2018-10-15 20:58:16 +02:00
Christophe Maudoux
5afeddcb4b Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-10-15 19:42:29 +02:00
Christophe Maudoux
2178c8a2cf Append Portal main logo param (#1515) 2018-10-15 19:37:29 +02:00
Clément OUDOT
e269d75789 Do not set -Access-Control-Allow-Origin header when answering Ajax call (#1519) 2018-10-15 14:20:49 +02: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
13320e64a9 Set form-action for SAML Discovery Protocol URL (#1478) 2018-10-12 10:11:51 +02:00
Clément OUDOT
c5f9a7f95b make tidy 2018-10-12 10:04:03 +02:00
Christophe Maudoux
0f60238e7f Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-10-11 21:03:56 +02:00
Clément OUDOT
7df46ae183 Change password in mail reset when it is generated (#1508) 2018-10-10 23:13:59 +02:00
Christophe Maudoux
c2da030b95 BruteForceProtection plugin disable by default 2018-10-10 23:12:38 +02:00
Christophe Maudoux
995184b2a4 Throw warning msg if History disabled (#1506) 2018-10-09 23:12:14 +02:00
Christophe Maudoux
3401089eb5 Modify init condition - History is required (#1506) 2018-10-09 22:54:04 +02:00
Christophe Maudoux
e41a241d05 Append Portal main logo param (#1515) 2018-10-09 22:40:28 +02:00
Clément OUDOT
8f7875a4a1 Set RESET for mail_password templte (#1508) 2018-10-09 20:29:24 +02:00
Clément OUDOT
b8e10222f4 Do not stop if one SP or IDP cannot be loaded (#1516) 2018-10-09 19:36:59 +02:00
Clément OUDOT
33ce3c9f1b Set token for confirmation screen (#1508) 2018-10-09 10:08:03 +02:00
Clément OUDOT
b33bd5a99d Allow to display mail resend confirmation screen (#1508) 2018-10-09 09:37:26 +02:00
Christophe Maudoux
8e5286dceb Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-10-08 23:03:09 +02:00
Christophe Maudoux
7a1117d4c4 Append Portal main logo option in Manager (#1515) 2018-10-08 23:02:59 +02:00
Xavier Guimard
1ef8c05908 Add "over" feature to choice (#1500) 2018-10-08 16:57:24 +02:00
Christophe Maudoux
fa0a78d8cd Improve code (#1510) 2018-10-07 21:32:26 +02:00
Christophe Maudoux
72df9415ef perltidy 2018-10-07 15:19:00 +02:00
Christophe Maudoux
47c1578f51 GrantSession message can contain session data (#1510) 2018-10-07 14:13:13 +02:00
Christophe Maudoux
6c4dcf44ec Fix typo 2018-10-07 14:12:36 +02:00
Christophe Maudoux
b075aa47a6 perltidy 2018-10-07 11:40:26 +02:00
Christophe Maudoux
ff3605185d Fix error message 2018-10-06 23:09:07 +02:00
Christophe Maudoux
5e73cab1b1 Include afterData step after SecondFactor. Required for GrantSession & BruteForceProtection plugin 2018-10-05 22:20:31 +02:00
Christophe Maudoux
5a832b57a7 Remove unuseful Perl version directive 2018-10-05 21:36:13 +02:00
Christophe Maudoux
b2be6dca25 Improve code ;-) (#1507) 2018-10-05 19:36:56 +02:00
Christophe Maudoux
8fbdf29c8a Rename plugin (#1507) 2018-10-04 18:41:03 +02:00
Christophe Maudoux
3f780cf5cc perltidy (#1507) 2018-10-03 22:45:12 +02:00
Christophe Maudoux
0b09f7a130 Cleaning code (#1507) 2018-10-03 22:44:38 +02:00
Christophe Maudoux
e8f67b0f16 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-10-03 22:40:14 +02:00
Xavier Guimard
0d3cccc491 Fix loadPlugin/loadModule issues in Choice (#1500) 2018-10-03 22:31:28 +02:00
Christophe Maudoux
a82939ee4b WIP - Append PortalForceAuthn plugin (#1507) 2018-10-03 22:22:15 +02:00
Xavier Guimard
2ac66fc1d7 Missing "with" #1500 2018-10-03 22:01:13 +02:00
Xavier Guimard
29d00823e5 Factor loadPlugin override (#1500) 2018-10-03 21:48:57 +02:00
Christophe Maudoux
a6c461f7b6 WIP - Rename plugin PortalForceAuthn (#1507) 2018-10-03 21:27:09 +02:00
Christophe Maudoux
85c6ad2498 WIP - Append PortalForceReAuthn (#1507) 2018-10-03 21:07:10 +02:00
Christophe Maudoux
bcdd461f0b Improve unit test (#1510) 2018-10-02 20:29:43 +02:00
Clément OUDOT
702faf0b49 Option to use an SAML attribute as user (#1512) 2018-10-02 16:04:24 +02:00
Christophe Maudoux
a1cb06cfa9 Append debug message (#1510) 2018-10-01 22:46:28 +02:00
Christophe Maudoux
e3d674cf05 Fix mistake (#1510) 2018-10-01 19:53:21 +02:00
Christophe Maudoux
78b486ee8e WIP - Fix grantSession rules creation from manager & message display (#1510) 2018-10-01 19:43:16 +02:00
Christophe Maudoux
5fca77fbbf WIP - Fix grantSession rules creation from manager (#1510) 2018-10-01 16:20:30 +02:00
Christophe Maudoux
8890aa05f7 Fix conf parameter name (#1510) 2018-10-01 15:20:41 +02:00
Christophe Maudoux
c3ccbd77c3 Cleaning code (#1506) 2018-09-30 21:16:29 +02:00
Christophe Maudoux
9387ed9778 Append unit test (#1506) 2018-09-28 23:04:03 +02:00
Christophe Maudoux
b712c80a17 Append debug msg (#1506) 2018-09-28 20:08:54 +02:00
Christophe Maudoux
04d04c30bc Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-09-28 20:02:55 +02:00
Christophe Maudoux
d4eb025de3 Append BruteForceProtection (#1506) 2018-09-28 19:50:01 +02:00
Clément OUDOT
7485e792a5 Store _url and urldc in ->env to use it in Choice rules (#1461) 2018-09-28 10:28:32 +02:00
Christophe Maudoux
1662f471bb WIP - Append brute force attack protection (#1506) 2018-09-28 00:06:17 +02:00
Clément OUDOT
a26d8cfe73 Remove bak file (#1461) 2018-09-27 17:40:13 +02:00
Clément OUDOT
f9d50b4d01 Remember URL in pdata (#1461) 2018-09-27 17:39:36 +02:00
Clément OUDOT
9de86c39fa Use pdata choice first (#1461) 2018-09-27 15:12:38 +02:00
Xavier Guimard
86b2a89912 Enable WSDL server (fixes: #8) 2018-09-26 20:51:53 +02:00
Xavier Guimard
051b9d2114 Typo #8 2018-09-26 07:32:28 +02:00