mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
python: Use python3 style super() in 2FA code paths.
This commit is contained in:
committed by
Tim Abbott
parent
6111b4ebd0
commit
0335da7e05
@@ -488,7 +488,7 @@ ALLOWED_HOSTS += REALM_HOSTS.values()
|
||||
from django.template.loaders import app_directories
|
||||
class TwoFactorLoader(app_directories.Loader):
|
||||
def get_dirs(self):
|
||||
dirs = super(TwoFactorLoader, self).get_dirs()
|
||||
dirs = super().get_dirs()
|
||||
return [d for d in dirs if 'two_factor' in d]
|
||||
|
||||
MIDDLEWARE = (
|
||||
|
||||
Reference in New Issue
Block a user