mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
Debugging things is fun.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
@@ -49,7 +49,7 @@ from app.dao.users_dao import (
|
||||
delete_user_verify_codes,
|
||||
get_user_by_email,
|
||||
)
|
||||
from app.enums import KeyType, NotificationStatus, NotificationType
|
||||
from app.enums import AuthType, KeyType, NotificationStatus, NotificationType
|
||||
from app.models import (
|
||||
AnnualBilling,
|
||||
Domain,
|
||||
@@ -238,7 +238,7 @@ def rebuild_ft_billing_for_day(service_id, day):
|
||||
"-a",
|
||||
"--auth_type",
|
||||
required=False,
|
||||
help="The authentication type for the user, sms_auth or email_auth. Defaults to sms_auth if not provided",
|
||||
help="The authentication type for the user, AuthType.SMS or AuthType.EMAIL. Defaults to AuthType.SMS if not provided",
|
||||
)
|
||||
@click.option(
|
||||
"-p", "--permissions", required=True, help="Comma separated list of permissions."
|
||||
@@ -703,7 +703,7 @@ def validate_mobile(ctx, param, value): # noqa
|
||||
hide_input=True,
|
||||
confirmation_prompt=True,
|
||||
)
|
||||
@click.option("-a", "--auth_type", default="sms_auth")
|
||||
@click.option("-a", "--auth_type", default=AuthType.SMS)
|
||||
@click.option("-s", "--state", default="active")
|
||||
@click.option("-d", "--admin", default=False, type=bool)
|
||||
def create_test_user(name, email, mobile_number, password, auth_type, state, admin):
|
||||
|
||||
Reference in New Issue
Block a user