diff --git a/ckan/controllers/user.py b/ckan/controllers/user.py index 8d8ffba9fce..5f8f8086fda 100644 --- a/ckan/controllers/user.py +++ b/ckan/controllers/user.py @@ -315,10 +315,6 @@ def edit(self, id=None, data=None, errors=None, error_summary=None): c.is_myself = True c.show_email_notifications = asbool( config.get('ckan.activity_streams_email_notifications')) - if authz.is_sysadmin(c.user): - vars['oldpassword_label'] = 'Sysadmin password' - else: - vars['oldpassword_label'] = 'Old password' c.form = render(self.edit_user_form, extra_vars=vars) return render('user/edit.html') diff --git a/ckan/templates/user/edit_user_form.html b/ckan/templates/user/edit_user_form.html index 6cb475e0d3d..1ecf98d1793 100644 --- a/ckan/templates/user/edit_user_form.html +++ b/ckan/templates/user/edit_user_form.html @@ -24,7 +24,7 @@