Skip to content

Commit 3972fe5

Browse files
committed
⚙ Increase WAUTH_RESYNC_DELTA
1 parent 78d4216 commit 3972fe5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

docs/source/reference/change_log.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Release date: coming soon
99

1010
- **ADDED**: LDAPUserManager for manually creating users from LDAP.
1111
- **IMPROVED**: LDAP Settings for Group Membership check propagate to one another.
12+
- **MODIFIED**: Increased the default ``WAUTH_RESYNC_DELTA`` to every 1 day.
1213

1314
1.3.2
1415
-----

docs/source/reference/settings_reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This can be used with ``lambda`` functions for lazy setting values.
4141
WAUTH_RESYNC_DELTA
4242
~~~~~~~~~~~~~~~~~~
4343

44-
| Type ``timedelta``, ``str``, ``int`` or ``None``; Default to ``timedelta(minutes=10)``; Not Required.
44+
| Type ``timedelta``, ``str``, ``int`` or ``None``; Default to ``timedelta(days=1)``; Not Required.
4545
| Minimum time (seconds) until automatic re-sync user's fields and permissions against LDAP.
4646
4747
Configure when to **automatically synchronize** the user's fields and groups (and permissions) against Active Directory via LDAP.

windows_auth/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
WAUTH_USE_SPN: bool = getattr(settings, "WAUTH_USE_SPN", False)
1818
# Minimum time until automatic re-sync
1919
WAUTH_RESYNC_DELTA: Optional[Union[str, int, timezone.timedelta]] = getattr(settings, "WAUTH_RESYNC_DELTA",
20-
timezone.timedelta(minutes=10))
20+
timezone.timedelta(days=1))
2121
# Use cache instead of model for determining re-sync
2222
WAUTH_USE_CACHE: bool = getattr(settings, "WAUTH_USE_CACHE", False)
2323
# Raise exception and return Error 500 when user failed to synced to domain

0 commit comments

Comments
 (0)