mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 23:41:17 -05:00
ugh
This commit is contained in:
@@ -84,13 +84,13 @@ def invite_user_to_org(organization_id):
|
|||||||
# This is for the login.gov path, note 24 hour expiry to match
|
# This is for the login.gov path, note 24 hour expiry to match
|
||||||
# The expiration of invitations.
|
# The expiration of invitations.
|
||||||
redis_key = f"organization-invite-{invited_org_user.email_address}"
|
redis_key = f"organization-invite-{invited_org_user.email_address}"
|
||||||
redis_store.raw_set(
|
redis_store.set(
|
||||||
redis_key,
|
redis_key,
|
||||||
organization_id,
|
organization_id,
|
||||||
ex=3600 * 24,
|
ex=3600 * 24,
|
||||||
)
|
)
|
||||||
current_app.logger.info(
|
current_app.logger.info(
|
||||||
hilite(f"STORING THIS ORGANIZATION ID IN REDIS {organization_id}")
|
hilite(f"STORING THIS ORGANIZATION ID IN REDIS {redis_store.get(redis_key)}")
|
||||||
)
|
)
|
||||||
current_app.logger.info(
|
current_app.logger.info(
|
||||||
hilite(f"URL: {os.environ['LOGIN_DOT_GOV_REGISTRATION_URL']}")
|
hilite(f"URL: {os.environ['LOGIN_DOT_GOV_REGISTRATION_URL']}")
|
||||||
|
|||||||
Reference in New Issue
Block a user