Skip to content
Snippets Groups Projects
Verified Commit 52c08c88 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Create Yubikey validation service

parent 1841deef
No related branches found
No related tags found
1 merge request!148Migrations
Pipeline #811 failed
from django.db import migrations
def create_validation_service(apps, schema_editor):
apps.get_model('otp_yubikey', 'ValidationService').objects.update_or_create(
name='default', defaults={'use_ssl': True, 'param_sl': '', 'param_timeout': ''}
)
class Migration(migrations.Migration):
dependencies = [
('core', '0010_alter_fields_notification'),
]
operations = [
migrations.RunPython(create_validation_service)
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment