Browse Source

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

Romain Rigaux 8 years ago
parent
commit
51ff2ca
1 changed files with 1 additions and 1 deletions
  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