mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-18 21:44:11 -04:00
Remove pdb breaks
This commit is contained in:
@@ -24,7 +24,6 @@ def two_factor():
|
||||
form = TwoFactorForm(_check_code)
|
||||
|
||||
if form.validate_on_submit():
|
||||
import pdb; pdb.set_trace()
|
||||
try:
|
||||
user = user_api_client.get_user(user_id)
|
||||
services = service_api_client.get_services({'user_id': str(user_id)}).get('data', [])
|
||||
|
||||
@@ -54,7 +54,6 @@ def user_has_permissions(*permissions, admin_override=False, any_=False):
|
||||
def redirect_to_sign_in(f):
|
||||
@wraps(f)
|
||||
def wrapped(*args, **kwargs):
|
||||
import pdb; pdb.set_trace()
|
||||
if 'user_details' not in session:
|
||||
return redirect(url_for('main.sign_in'))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user