Skip to content

Commit

Permalink
Don't require a global backened secret when allowall is not set
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
  • Loading branch information
SystemKeeper committed Jul 19, 2023
1 parent a70d6bf commit b1c9048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recording/src/nextcloud/talk/recording/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def getBackendSecret(self, backendUrl):
Defaults to None.
"""
if self._configParser.get('backend', 'allowall', fallback=None):
if self._configParser.getboolean('backend', 'allowall', fallback=None):
return self._configParser.get('backend', 'secret')

backendUrl = backendUrl.rstrip('/')
Expand Down

0 comments on commit b1c9048

Please sign in to comment.