mirror of
https://github.com/simple-login/app.git
synced 2024-11-10 21:27:10 +01:00
refactor True check
This commit is contained in:
parent
1c6dab3c86
commit
57cd1452b0
2
cron.py
2
cron.py
@ -1070,7 +1070,7 @@ def get_alias_to_check_hibp(
|
|||||||
Alias.id >= min_alias_id,
|
Alias.id >= min_alias_id,
|
||||||
Alias.id < max_alias_id,
|
Alias.id < max_alias_id,
|
||||||
User.disabled == False, # noqa: E712
|
User.disabled == False, # noqa: E712
|
||||||
User.enable_data_breach_check == True,
|
User.enable_data_breach_check,
|
||||||
or_(
|
or_(
|
||||||
User.lifetime,
|
User.lifetime,
|
||||||
ManualSubscription.end_at > now,
|
ManualSubscription.end_at > now,
|
||||||
|
Loading…
Reference in New Issue
Block a user