Merge branch 'Aufinal/fix_password_freeze' into 'master'

K-Psul:
- fix freeze when no-team password

Closes #153

See merge request !196
This commit is contained in:
Aurélien Delobelle 2017-03-24 20:53:44 +01:00
commit f063c3470c

View file

@ -50,6 +50,8 @@ function isValidTrigramme(trigramme) {
function getErrorsHtml(data) { function getErrorsHtml(data) {
var content = ''; var content = '';
if (!data)
return "L'utilisateur n'est pas dans l'équipe";
if ('operation_group' in data['errors']) { if ('operation_group' in data['errors']) {
content += 'Général'; content += 'Général';
content += '<ul>'; content += '<ul>';