diff --git a/src/authentic2_formiris/views.py b/src/authentic2_formiris/views.py index 662e137..208ff5b 100644 --- a/src/authentic2_formiris/views.py +++ b/src/authentic2_formiris/views.py @@ -22,7 +22,7 @@ def index(request): if restriction.updated is not None and \ (now() - restriction.updated) >= timedelta(days=7): logger.info(u'user blocked because its profile update has not been ' - 'validated in %s days', (now() - restriction.update).days) + 'validated in %s days', (now() - restriction.updated).days) if request.method == 'POST': restriction.send_mail(request) logger.info('profile update validation email resent')