File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
services/web/server/src/simcore_service_webserver/login Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 11import logging
2- from typing import Final
32
43from aiohttp import web
54from pydantic import ValidationError
65from settings_library .email import SMTPSettings
76
8- from .._meta import APP_NAME
97from ..application_setup import (
108 ModuleCategory ,
119 app_setup_func ,
4240 LoginSettingsForProduct ,
4341)
4442
45- log = logging .getLogger (__name__ )
43+ _logger = logging .getLogger (__name__ )
4644
47- APP_LOGIN_CLIENT_KEY : Final = web .AppKey ("APP_LOGIN_CLIENT_KEY" , object )
4845
49- MAX_TIME_TO_CLOSE_POOL_SECS = 5
50-
51-
52- @ensure_single_setup (f"{ __name__ } .login_options" , logger = log )
46+ @ensure_single_setup (f"{ __name__ } .login_options" , logger = _logger )
5347def _setup_login_options (app : web .Application ):
5448 settings : SMTPSettings = get_email_plugin_settings (app )
5549
@@ -108,7 +102,7 @@ async def _resolve_login_settings_per_product(app: web.Application):
108102 "simcore_service_webserver.login" ,
109103 ModuleCategory .ADDON ,
110104 settings_name = "WEBSERVER_LOGIN" ,
111- logger = log ,
105+ logger = _logger ,
112106)
113107def setup_login (app : web .Application ):
114108 """Setting up login subsystem in application"""
You can’t perform that action at this time.
0 commit comments