Projet

Général

Profil

0001-agent-authentic2-set-default-A2_USERNAME_LABEL-fixes.patch

Benjamin Dauvergne, 06 janvier 2016 19:12

Télécharger (1,04 ko)

Voir les différences:

Subject: [PATCH] agent/authentic2: set default A2_USERNAME_LABEL (fixes #9528)

 hobo/agent/authentic2/apps.py | 2 ++
 1 file changed, 2 insertions(+)
hobo/agent/authentic2/apps.py
23 23
from django.contrib.auth import get_user_model
24 24
from django.db import connection
25 25
from django.core.urlresolvers import reverse
26
from django.utils.translation import ugettext_lazy as _
26 27

  
27 28
from django_rbac.utils import get_role_model
28 29

  
......
208 209
                            sender=Role.members.through)
209 210
        settings.A2_MANAGER_ROLE_FORM_CLASS = \
210 211
            'hobo.agent.authentic2.role_forms.RoleForm'
212
        settings.A2_USERNAME_LABEL = _('Email')
211
-