Remove webauthn hooks

This changeset removes webauthn from the Notify.gov admin app.  We are not using webauthn at all in our implementation and will be looking at an entirely different authentication system in the near future.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
Carlo Costino
2023-08-14 16:59:38 -04:00
parent a85b98ecb5
commit 9e609efa1c
44 changed files with 102 additions and 2594 deletions

View File

@@ -1,4 +1,4 @@
from flask import abort, flash, redirect, render_template, request, url_for
from flask import flash, redirect, render_template, request, url_for
from flask_login import current_user
from notifications_python_client.errors import HTTPError
@@ -56,8 +56,6 @@ def archive_user(user_id):
@user_is_platform_admin
def change_user_auth(user_id):
user = User.from_id(user_id)
if user.webauthn_auth:
abort(403)
form = AuthTypeForm(auth_type=user.auth_type)