Skip to content

Commit

Permalink
Disable trial_bp to alleviate error during user creation (#322)
Browse files Browse the repository at this point in the history
* Disable trial_bp to alleviate error

* Revert import sorting

* Add comment to describe change

---------

Co-authored-by: Michael Franklin <illusional@users.noreply.github.com>
  • Loading branch information
illusional and illusional authored Nov 15, 2023
1 parent a00f48f commit 5c73038
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion auth/auth/driver/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,9 @@ async def _create_user(app, user, skip_trial_bp, cleanup):
raise DatabaseConflictError


async def create_user(app, user, skip_trial_bp=False):
# 2023-11-16 mfranklin: disable trial bp because there's an auth problem
# https://hail.zulipchat.com/#narrow/stream/300487-Hail-Batch-Dev/topic/Issue.20creating.20users/near/401890787
async def create_user(app, user, skip_trial_bp=True):
cleanup: List[Callable[[], Awaitable[None]]] = []
try:
await _create_user(app, user, skip_trial_bp, cleanup)
Expand Down

0 comments on commit 5c73038

Please sign in to comment.