Skip to content

Commit 3742c71

Browse files
committed
Added description for the 'auth_type' field in the GlobalConfig
1 parent 22b72f3 commit 3742c71

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/murfey/util/config.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,14 @@ class GlobalConfig(BaseModel):
528528
)
529529

530530
# Server authentication settings
531-
auth_type: Literal["password", "cookie"] = "password"
531+
auth_type: Literal["password", "cookie"] = Field(
532+
default="password",
533+
description=(
534+
"Choose how Murfey will authenticate new connections that it receives. "
535+
"This can be done at present via password authentication or exchanging "
536+
"cookies."
537+
),
538+
)
532539
auth_key: str = ""
533540
auth_algorithm: str = ""
534541
cookie_key: str = ""

0 commit comments

Comments
 (0)