Bug #8113
Restes des morceaux de identification_token
Début:
25 août 2015
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
Dans #7824 on a supprimé les histoires de jeton d'identification mais il en reste quelques morceaux.
Exception: type = '<type 'exceptions.AttributeError'>', value = ''SqlUser' object has no attribute 'identification_token'' Stack trace (most recent call first): File "/usr/lib/python2.7/dist-packages/wcs/qommon/ident/idp.py", line 1066, in token 1064 r += htmltext('<h2>%s</h2>') % _('Email with Identification Token') 1065 > 1066 if not self.user.identification_token: 1067 token = '-'.join(['%04d' % random.randint(1, 9999) for x in range(4)]) 1068 self.user.identification_token = str(token)
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a plus de 8 ans
- Fichier 0001-misc-remove-leftover-traces-of-identification_token-.patch 0001-misc-remove-leftover-traces-of-identification_token-.patch ajouté
- Statut changé de Nouveau à En cours
- Patch proposed changé de Non à Oui
Mis à jour par Benjamin Dauvergne il y a plus de 8 ans
Ack mais il reste des bouts (pas gênants car dépendant de la méthode token() enlevés dans ident/idp.py
) aussi dans wcs/qommon/saml2.py:
wcs/qommon/saml2.py: users_with_token = list(UserClass.get_users_with_identification_token(token))
Mis à jour par Frédéric Péters il y a plus de 8 ans
- Fichier 0001-misc-remove-leftover-traces-of-identification_token-.patch 0001-misc-remove-leftover-traces-of-identification_token-.patch ajouté
Bien vu, les voici également retirés.
Mis à jour par Frédéric Péters il y a plus de 8 ans
- Statut changé de En cours à Résolu (à déployer)
commit 6da1ab4f20993278e55a6d94dc9edbca7a5f6cad Author: Frédéric Péters <fpeters@entrouvert.com> Date: Tue Aug 25 15:06:17 2015 +0200 misc: remove leftover traces of identification_token (#8113)
misc: remove leftover traces of identification_token (#8113)