Skip to content

Commit 502f6bc

Browse files
committed
fix: update LOGIN_SETTINGS_PER_PRODUCT_APPKEY to use web.AppKey
1 parent 0d1c344 commit 502f6bc

File tree

1 file changed

+4
-1
lines changed
  • services/web/server/src/simcore_service_webserver/login

1 file changed

+4
-1
lines changed

services/web/server/src/simcore_service_webserver/login/constants.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from typing import Final
22

3+
from aiohttp import web
34
from common_library.user_messages import user_message
45

56
MSG_2FA_CODE_SENT: Final[str] = user_message(
@@ -125,7 +126,9 @@
125126

126127
# App keys for login plugin
127128
# Naming convention: APP_LOGIN_...KEY
128-
LOGIN_SETTINGS_PER_PRODUCT_APPKEY: Final[str] = f"{__name__}.LOGIN_SETTINGS_PER_PRODUCT"
129+
LOGIN_SETTINGS_PER_PRODUCT_APPKEY: Final = web.AppKey(
130+
"LOGIN_SETTINGS_PER_PRODUCT_APPKEY", dict
131+
)
129132

130133

131134
# maximum amount the user can resend the code via email or phone

0 commit comments

Comments
 (0)