MANALIMALPANI
8a0dd29899
[FIX] auth_ldap: fix LDAP error handling
...
In order to ensure consistent results of all error conditions returned
by the LDAP server, the _authenticate() method should return `False`
for every kind of exception, not just for INVALID_CREDENTIALS.
This is not actually relevant in 12.0 as the result is exactly the
same, due to the way the `entry` variable is being initialized, but it
will make the code path "visibly consistent" across all supported
versions
closes odoo/odoo#72484
X-original-commit: 24a3f669e5199c35849dabbf7b0d37f43b684538
Signed-off-by: Olivier Dony (odo) <odo@openerp.com >
2021-06-21 17:50:25 +00:00
..
2019-04-24 07:31:14 +00:00
2020-02-18 13:19:16 +00:00
2021-03-30 09:10:49 +00:00
2020-12-21 10:24:18 +00:00
2019-05-28 15:58:33 +00:00
2019-08-07 12:57:12 +00:00
2019-04-08 10:26:36 +00:00
2019-07-30 12:52:07 +00:00
2019-11-25 14:08:05 +00:00
2021-01-27 13:54:19 +00:00
2019-09-13 11:55:12 +00:00
2021-03-30 09:58:23 +00:00
2019-03-25 11:04:58 +00:00
2020-01-29 13:03:07 +00:00
2019-03-01 14:13:50 +00:00
2019-02-07 04:27:37 +00:00
2020-06-18 17:23:01 +00:00
2019-03-08 14:48:58 +00:00
2021-01-08 17:36:18 +00:00
2019-07-25 07:32:06 +00:00
2019-10-11 10:00:08 +00:00
2019-07-10 09:45:15 +00:00
2021-05-28 10:58:10 +00:00
2019-02-04 10:41:15 +00:00
2021-04-11 11:56:14 +00:00
2020-09-14 17:47:11 +00:00
2019-09-30 15:59:01 +00:00
2021-01-05 14:16:10 +00:00
2019-12-17 10:33:56 +00:00
2020-08-13 18:42:42 +00:00
2020-01-20 15:00:09 +00:00
2019-11-08 09:16:09 +00:00
2021-03-30 09:10:12 +00:00
2020-04-09 10:53:35 +00:00
2019-07-11 09:50:13 +00:00
2019-05-10 09:20:23 +00:00
2019-07-15 08:48:10 +00:00
2021-05-07 15:13:07 +00:00
2019-08-28 08:31:37 +00:00
2019-04-10 07:16:42 +00:00
2019-10-01 11:28:55 +00:00
2020-08-11 10:31:12 +00:00
2021-02-15 10:29:45 +00:00
2019-04-11 11:55:38 +00:00
2020-01-06 13:55:29 +00:00
2019-08-12 10:22:32 +00:00
2019-03-15 13:26:27 +00:00
2019-03-08 15:17:12 +00:00
2019-06-18 10:13:39 +00:00
2021-05-28 15:58:58 +00:00
2021-01-18 10:18:21 +00:00
2019-12-18 08:38:20 +00:00
2020-09-28 16:46:28 +00:00
2021-01-18 09:03:50 +00:00
2020-09-11 14:18:08 +00:00
2020-05-08 17:48:44 +00:00
2019-10-01 16:52:01 +00:00
2020-08-06 07:18:23 +00:00
2020-09-28 17:17:10 +00:00
2019-07-31 08:18:16 +00:00
2020-09-08 22:33:14 +00:00
2021-03-30 16:40:03 +00:00
2019-10-02 10:14:01 +00:00
2021-03-24 14:38:11 +00:00
2019-11-26 12:49:27 +00:00
2019-10-01 19:12:05 +00:00
2020-04-10 09:08:16 +00:00
2020-05-08 17:51:09 +00:00
2021-04-08 10:35:16 +00:00
2019-12-17 10:58:07 +00:00
2020-01-24 14:38:05 +00:00
2019-06-04 13:13:03 +00:00
2020-09-29 12:08:10 +00:00
2019-07-17 04:30:15 +00:00
2021-02-19 13:20:23 +00:00
2021-03-11 20:25:15 +00:00
2020-01-08 15:47:09 +00:00
2021-06-21 17:50:25 +00:00
2020-08-06 10:45:44 +00:00
2019-04-05 09:36:43 +00:00
2019-06-05 06:45:00 +00:00
2020-10-29 15:40:26 +00:00
2019-02-20 13:13:46 +00:00
2020-03-17 09:48:34 +00:00
2019-04-08 12:38:15 +00:00
2021-03-30 09:11:12 +00:00
2021-01-29 16:12:46 +00:00
2020-11-26 09:57:18 +00:00
2019-02-11 07:05:59 +00:00
2021-05-25 08:21:06 +00:00
2021-02-26 08:45:12 +00:00
2019-09-11 13:15:20 +00:00
2019-02-04 07:50:32 +00:00
2019-11-14 07:05:33 +00:00
2019-12-17 07:09:27 +00:00
2021-02-05 14:52:02 +00:00
2020-05-05 12:40:10 +00:00
2021-03-30 12:37:21 +00:00
2020-07-20 13:31:00 +00:00
2020-08-04 08:20:15 +00:00
2019-11-19 09:15:22 +00:00
2020-12-03 22:42:21 +00:00
2019-11-21 08:59:12 +00:00
2020-01-24 07:34:34 +00:00
2021-03-30 13:21:14 +00:00
2019-09-23 14:40:43 +00:00
2020-11-25 07:58:07 +00:00
2020-10-19 13:57:27 +00:00
2019-08-12 07:24:22 +00:00
2020-12-02 10:19:39 +00:00
2020-02-11 18:33:25 +00:00
2020-10-14 11:24:12 +00:00
2019-11-06 16:31:05 +00:00
2019-10-24 14:27:31 +00:00
2020-02-21 17:21:44 +00:00
2019-07-25 12:00:09 +00:00
2020-09-07 09:11:35 +00:00
2021-06-01 17:22:18 +00:00
2020-04-27 18:31:59 +00:00
2019-07-25 14:09:37 +00:00
2019-08-01 12:48:22 +00:00
2021-03-11 18:06:30 +00:00
2021-01-14 09:55:11 +00:00
2020-05-04 15:42:08 +00:00
2020-10-08 15:41:22 +00:00
2021-03-18 12:10:03 +00:00
2019-12-20 12:08:30 +00:00
2019-03-11 12:21:53 +00:00
2019-04-08 10:18:12 +00:00
2020-04-14 08:33:34 +00:00
2020-08-04 10:53:15 +00:00
2019-03-11 12:20:10 +00:00
2020-01-02 16:53:01 +00:00
2021-01-08 17:31:11 +00:00