Use sha512_crypt from passlib.handlers.sha2_crypt

This commit is contained in:
Jan Dittberner 2023-02-19 13:47:08 +01:00
parent 610f8976fc
commit a8392ef91e
3 changed files with 4 additions and 12 deletions

View file

@ -7,7 +7,7 @@ from django.core.exceptions import ValidationError
from django.test import TestCase
from django.test.utils import override_settings
from django.utils import timezone
from passlib.hash import sha512_crypt
from passlib.handlers.sha2_crypt import sha512_crypt
from osusers.models import (
CANNOT_USE_PRIMARY_GROUP_AS_ADDITIONAL,