Skip to content

Commit

Permalink
Merge pull request #925 from scidsg/more-verification-fixes
Browse files Browse the repository at this point in the history
more logging for url verification
  • Loading branch information
brassy-endomorph authored Feb 15, 2025
2 parents 0ae5d73 + a821644 commit b54089d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hushline/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ def set_input_disabled(input_field: Field, disabled: bool = True) -> None:
async def verify_url(
session: aiohttp.ClientSession, username: Username, i: int, url_to_verify: str, profile_url: str
) -> None:
current_app.logger.debug(f"Verifying url: {url_to_verify!r}")
current_app.logger.debug(
f"Verifying URL: {url_to_verify!r}. Expecting to find profile URL: {profile_url!r}"
)

# ensure that regardless of what caller sets this field to, we force it to be false
setattr(username, f"extra_field_verified{i}", False)
Expand Down

0 comments on commit b54089d

Please sign in to comment.