restore email sign in code expiry functionality

reverts 789112a31f

however, keeps the changes to the tests as they were an improvement
This commit is contained in:
Leo Hemsted
2020-05-05 12:00:36 +01:00
parent f67625a9fa
commit 2b7e05d4e4
2 changed files with 2 additions and 6 deletions

View File

@@ -453,10 +453,7 @@ def test_user_verify_email_code(admin_request, sample_user, auth_type):
@pytest.mark.parametrize('code_type', [
pytest.param(
EMAIL_TYPE,
marks=pytest.mark.xfail(raises=AssertionError, reason='Email code expiry disabled'),
),
EMAIL_TYPE,
SMS_TYPE
])
@freeze_time('2016-01-01T12:00:00')