Tesis 1.0.0
Loading...
Searching...
No Matches
models.py
Go to the documentation of this file.
1from django.db import models
2
3# Create your models here.
4
5class User2FA(models.Model):
6 email = models.EmailField(unique=True)
7 secret = models.CharField(max_length=32)
8 enabled = models.BooleanField(default=False)
9
10 def __str__(self):
11 return self.email