2023-10-25 10:10:23 -04:00
|
|
|
from django import forms
|
2023-10-31 16:14:24 -04:00
|
|
|
from django.contrib.auth.models import User
|
|
|
|
from django.contrib.auth import authenticate
|
2023-10-25 10:10:23 -04:00
|
|
|
|
2023-10-31 16:14:24 -04:00
|
|
|
from ..status_code import *
|
|
|
|
|
2023-10-25 10:10:23 -04:00
|
|
|
class ChangePasswordForm(forms.Form):
|
2023-10-31 16:14:24 -04:00
|
|
|
new_password = forms.CharField(required=True, error_messages = {
|
|
|
|
'required': PASSWORD_MISSING,
|
|
|
|
})
|