Skip to content
Snippets Groups Projects
Commit bd6743d9 authored by Michael Terry's avatar Michael Terry
Browse files

Remove PasswordHistory model

This completes the work to deprecate PasswordHistory.

DEPR-7
parent e8555de4
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
# Generated by Django 1.11.16 on 2018-12-19 14:30
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('student', '0017_accountrecovery'),
]
operations = [
migrations.RemoveField(
model_name='passwordhistory',
name='user',
),
migrations.DeleteModel(
name='PasswordHistory',
),
]
......@@ -790,15 +790,6 @@ EVENT_NAME_ENROLLMENT_DEACTIVATED = 'edx.course.enrollment.deactivated'
EVENT_NAME_ENROLLMENT_MODE_CHANGED = 'edx.course.enrollment.mode_changed'
class PasswordHistory(models.Model):
"""
This model is deprecated, no longer used, and slated for removal.
"""
user = models.ForeignKey(User, on_delete=models.CASCADE)
password = models.CharField(max_length=128)
time_set = models.DateTimeField(default=timezone.now)
class LoginFailures(models.Model):
"""
This model will keep track of failed login attempts
......
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