authenticated
is expected to be a boolean
This commit is contained in:
parent
2dfc55fb9f
commit
dea29c5d5b
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ class Module(ModuleManager.BaseModule):
|
|||
authenticated = event["hook"].get_kwarg("authenticated", False)
|
||||
if not permission == None:
|
||||
allowed = self._has_permission(event["user"], permission)
|
||||
elif not authenticated == None:
|
||||
elif authenticated:
|
||||
allowed = self._is_identified(event["user"])
|
||||
|
||||
if not allowed == None:
|
||||
|
|
Loading…
Reference in a new issue