diff options
author | Jonah BrĂ¼chert <jbb@kaidan.im> | 2024-04-02 23:46:00 +0200 |
---|---|---|
committer | Jonah BrĂ¼chert <jbb@kaidan.im> | 2024-05-07 13:51:25 +0200 |
commit | 52edda02e6fee2c8122fac71c49ea711672b4d92 (patch) | |
tree | 51523124e041bb27f89e27cf7d4606c8ddefd41c /accounts/__init__.py | |
parent | 17f8ee678cbc4dafbef53ce1b9a852728955fd3e (diff) | |
download | web-52edda02e6fee2c8122fac71c49ea711672b4d92.tar.gz web-52edda02e6fee2c8122fac71c49ea711672b4d92.tar.bz2 web-52edda02e6fee2c8122fac71c49ea711672b4d92.zip |
Remove service passwords featureremove-service-passwords
Diffstat (limited to 'accounts/__init__.py')
-rw-r--r-- | accounts/__init__.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/accounts/__init__.py b/accounts/__init__.py index c290c3a..2824da7 100644 --- a/accounts/__init__.py +++ b/accounts/__init__.py @@ -2,7 +2,6 @@ import os from flask import Flask -from .models import Service from .utils import get_backend from .utils.confirmation import Confirmation from .utils.sessions import EncryptedSessionInterface @@ -40,11 +39,6 @@ def create_app(config=None) -> Flask: app.register_blueprint(admin.bp, url_prefix="/admin") app.session_interface = EncryptedSessionInterface() - app.all_services = list() - for name, url in app.config.get("SERVICES", list()): - cn = name.lower() - app.all_services.append(Service(cn, name, url)) - app.username_blacklist = list() if app.config.get("USERNAME_BLACKLIST_FILE"): with open(app.config["USERNAME_BLACKLIST_FILE"]) as f: |