File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
services/web/server/src/simcore_service_webserver/session Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 44from pydantic import AliasChoices , PositiveInt , field_validator
55from pydantic .fields import Field
66from pydantic .types import SecretStr
7- from pydantic_settings import SettingsConfigDict
87from settings_library .base import BaseCustomSettings
98from settings_library .utils_session import MixinSessionSettings
109
1110from .._constants import APP_SETTINGS_KEY
1211
1312_MINUTE : Final [int ] = 60 # secs
14- _HOUR : Final [int ] = 60 * _MINUTE
15- _DAY : Final [int ] = 24 * _HOUR
1613
1714
1815class SessionSettings (BaseCustomSettings , MixinSessionSettings ):
@@ -61,8 +58,6 @@ class SessionSettings(BaseCustomSettings, MixinSessionSettings):
6158 description = "This prevents JavaScript from accessing the session cookie" ,
6259 )
6360
64- model_config = SettingsConfigDict (extra = "allow" )
65-
6661 @field_validator ("SESSION_SECRET_KEY" )
6762 @classmethod
6863 def check_valid_fernet_key (cls , v ):
You can’t perform that action at this time.
0 commit comments