mirror of https://github.com/jumpserver/jumpserver
31 lines
1.0 KiB
Python
31 lines
1.0 KiB
Python
|
# -*- coding: utf-8 -*-
|
||
|
# Generated by Django 1.11.13 on 2018-07-10 08:41
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('users', '0011_user_source'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AddField(
|
||
|
model_name='loginlog',
|
||
|
name='mfa',
|
||
|
field=models.SmallIntegerField(choices=[(0, 'Disabled'), (1, 'Enabled'), (2, '-')], default=2, verbose_name='MFA'),
|
||
|
),
|
||
|
migrations.AddField(
|
||
|
model_name='loginlog',
|
||
|
name='reason',
|
||
|
field=models.SmallIntegerField(choices=[(0, '-'), (1, 'Username/password check failed'), (2, 'MFA authentication failed')], default=0, verbose_name='Reason'),
|
||
|
),
|
||
|
migrations.AddField(
|
||
|
model_name='loginlog',
|
||
|
name='status',
|
||
|
field=models.BooleanField(choices=[(True, 'Success'), (False, 'Failed')], default=True, max_length=2, verbose_name='Status'),
|
||
|
),
|
||
|
]
|