stages/authenticator_webauthn: remove credential_id size limit (#4931)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
b81ddf2b80
commit
59a92dbacd
|
@ -0,0 +1,20 @@
|
|||
# Generated by Django 4.1.7 on 2023-03-13 19:49
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
(
|
||||
"authentik_stages_authenticator_webauthn",
|
||||
"0007_rename_last_used_on_webauthndevice_last_t",
|
||||
),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="webauthndevice",
|
||||
name="credential_id",
|
||||
field=models.TextField(unique=True),
|
||||
),
|
||||
]
|
|
@ -119,7 +119,7 @@ class WebAuthnDevice(SerializerModel, Device):
|
|||
user = models.ForeignKey(get_user_model(), on_delete=models.CASCADE)
|
||||
|
||||
name = models.TextField(max_length=200)
|
||||
credential_id = models.CharField(max_length=300, unique=True)
|
||||
credential_id = models.TextField(unique=True)
|
||||
public_key = models.TextField()
|
||||
sign_count = models.IntegerField(default=0)
|
||||
rp_id = models.CharField(max_length=253)
|
||||
|
|
Reference in New Issue