Skip to content

Commit

Permalink
Merge pull request #1374 from GSA/debug_staging
Browse files Browse the repository at this point in the history
remove debug
  • Loading branch information
ccostino authored Apr 1, 2024
2 parents 0fa9910 + e4990cf commit e572d78
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/main/views/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from app.main import main
from app.main.forms import TwoFactorForm
from app.models.user import InvitedOrgUser, InvitedUser, User
from app.utils import hilite
from app.utils.login import redirect_to_sign_in


Expand Down Expand Up @@ -71,7 +70,6 @@ def activate_user(user_id):
login_gov_invite_data = redis_client.get(f"service-invite-{user.email_address}")
if login_gov_invite_data:
login_gov_invite_data = json.loads(login_gov_invite_data.decode("utf8"))
current_app.logger.info(hilite(f"LOGIN_GOV_INVITE_DATA {login_gov_invite_data}"))

# This is the deprecated path for organization invites where we get id from session
session["current_session_id"] = user.current_session_id
Expand All @@ -87,7 +85,6 @@ def activate_user(user_id):
return redirect(url_for("main.service_dashboard", service_id=service_id))
elif login_gov_invite_data:
service_id = login_gov_invite_data["service_id"]
current_app.logger.info(hilite(f"SERVICE_ID={service_id}"))

user.add_to_service(
service_id,
Expand All @@ -105,7 +102,6 @@ def activate_user(user_id):
organization_id = redis_client.raw_get(
f"organization-invite-{user.email_address}"
)
current_app.logger.info(hilite(f"ORGANIZATION_ID FROM REDIS {organization_id}"))
user_api_client.add_user_to_organization(
organization_id.decode("utf8"), user_id
)
Expand Down

0 comments on commit e572d78

Please sign in to comment.