Explorar el Código

HUE-6343 [useradmin] User edit js notifification is only for Hue 3

Romain Rigaux hace 8 años
padre
commit
51ff2ca
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      apps/useradmin/src/useradmin/views.py

+ 1 - 1
apps/useradmin/src/useradmin/views.py

@@ -333,7 +333,7 @@ def edit_user(request, username=None):
         request.session['django_language'] = form.cleaned_data.get('language')
         updated = True
 
-      if updated and is_embeddable:
+      if updated and not is_embeddable:
         request.info(_('User information updated'))
 
       # Audit log