mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Whoopsies
This commit is contained in:
parent
d0f1d9201c
commit
746433c5d1
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ def user_is_allowed_on_domain(user: str, domain: str) -> bool:
|
|||
return False
|
||||
else:
|
||||
parent_domain = domain.split(".", 1)[-1]
|
||||
return user_is_allowed_on_domain(user, domain)
|
||||
return user_is_allowed_on_domain(user, parent_domain)
|
||||
|
||||
ctime = portal_settings_path.stat().st_ctime
|
||||
if domain not in DOMAIN_USER_ACL_DICT or DOMAIN_USER_ACL_DICT[domain]["ctime"] < time.time():
|
||||
|
|
Loading…
Add table
Reference in a new issue