mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
* fix: make email lookup case-insensitive in get_user_by_email Email addresses are case-insensitive in practice, but get_user_by_email compared with an exact `UserModel.email == email` predicate. A user who signed up as "User@example.com" could not be found when logging in as "user@example.com" (and vice-versa), so the same person could fail to log in — or be treated as a brand-new account — depending only on how their client capitalized the address. Compare on `func.lower(UserModel.email) == func.lower(email)` so lookups are robust to capitalization. Minimal and backwards-compatible: it works with existing mixed-case rows immediately, with no migration required. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix: enforce case-insensitive user emails --------- Co-authored-by: developer603 <vrramsolutions@gmail.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: Abhishek Kumar <abhishek@a6k.me> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| agent_trigger_client.py | ||
| api_key_client.py | ||
| base_client.py | ||
| campaign_client.py | ||
| database.py | ||
| db_client.py | ||
| embed_token_client.py | ||
| filters.py | ||
| folder_client.py | ||
| integration_client.py | ||
| knowledge_base_client.py | ||
| models.py | ||
| organization_client.py | ||
| organization_configuration_client.py | ||
| organization_usage_client.py | ||
| reports_client.py | ||
| telephony_configuration_client.py | ||
| telephony_phone_number_client.py | ||
| tool_client.py | ||
| user_client.py | ||
| webhook_credential_client.py | ||
| workflow_client.py | ||
| workflow_recording_client.py | ||
| workflow_run_client.py | ||
| workflow_run_text_session_client.py | ||
| workflow_template_client.py | ||