mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-05 16:48:31 -04:00
Remove registration_response from webauthn serialize - not needed in admin app
Also fix tests: First add init file so the tests are found correctly, then update the tests after we stopped serialising webauthn registration_response.
This commit is contained in:
committed by
Leo Hemsted
parent
e62e050963
commit
e6291187ba
@@ -2622,7 +2622,6 @@ class WebauthnCredential(db.Model):
|
||||
'user_id': str(self.user_id),
|
||||
'name': self.name,
|
||||
'credential_data': self.credential_data,
|
||||
'registration_response': self.registration_response,
|
||||
'created_at': self.created_at.strftime(DATETIME_FORMAT),
|
||||
'updated_at': get_dt_string_or_none(self.updated_at),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user