Skip to content

Commit 1995324

Browse files
committed
Provide defaults for gh options in settings
1 parent 3752504 commit 1995324

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

soauth/config/settings.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ class Settings(BaseSettings):
4242
stale_login_expiry: timedelta = timedelta(minutes=30)
4343
login_record_length: timedelta = timedelta(weeks=2)
4444

45-
github_client_id: str
46-
github_client_secret: str
47-
github_redirect_uri: str
48-
github_organization_checks: list[str]
45+
github_client_id: str | None = None
46+
github_client_secret: str | None = None
47+
github_redirect_uri: str | None
48+
github_organization_checks: list[str] = []
4949

5050
# Production setup
5151
hostname: str = "http://localhost:8000"

0 commit comments

Comments
 (0)