Skip to content

Commit 2bd0f5d

Browse files
committed
fixes key
1 parent 5d2c037 commit 2bd0f5d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from ..products.api import get_product_name
99
from ..security.api import (
10-
PERMISSION_PRODUCT_LOGIN,
10+
PERMISSION_PRODUCT_LOGIN_KEY,
1111
AuthContextDict,
1212
check_user_authorized,
1313
check_user_permission,
@@ -58,7 +58,7 @@ async def _wrapper(request: web.Request):
5858

5959
await check_user_permission(
6060
request,
61-
PERMISSION_PRODUCT_LOGIN,
61+
PERMISSION_PRODUCT_LOGIN_KEY,
6262
context=AuthContextDict(
6363
product_name=get_product_name(request),
6464
authorized_uid=user_id,

services/web/server/src/simcore_service_webserver/security/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,6 @@ def check_password(password: str, password_hash: str) -> bool:
9494
"forget_identity",
9595
"get_access_model",
9696
"is_anonymous",
97-
"PERMISSION_PRODUCT_LOGIN",
97+
"PERMISSION_PRODUCT_LOGIN_KEY",
9898
"remember_identity",
9999
)

0 commit comments

Comments
 (0)