diff --git a/app/assets/javascripts/application.js.erb b/app/assets/javascripts/application.js.erb
index 0f3dd89572..12670b0654 100644
--- a/app/assets/javascripts/application.js.erb
+++ b/app/assets/javascripts/application.js.erb
@@ -63,7 +63,6 @@
//= require search
//= require colors
//= require tooltips
-//= require change_password
//source: http://stackoverflow.com/questions/8120065/jquery-and-prototype-dont-work-together-with-array-prototype-reverse
if (typeof []._reverse == 'undefined') {
diff --git a/app/assets/javascripts/change_password.js b/app/assets/javascripts/change_password.js
deleted file mode 100644
index 381091c0b4..0000000000
--- a/app/assets/javascripts/change_password.js
+++ /dev/null
@@ -1,16 +0,0 @@
-jQuery(function($) {
- $('#new_password_confirmation, #new_password, #password').keyup(function() {
- var passwordPresent = $('#password').val().length > 0;
- var button = $('input[name="commit"]');
- var newPass = $('#new_password').val();
- var newPassConfirm = $('#new_password_confirmation').val();
- var newPasswordsMatches = newPass === newPassConfirm;
- var newPasswordsPresent = (newPass.length > 0) && (newPassConfirm.length > 0);
-
- if (passwordPresent && newPasswordsMatches && newPasswordsPresent) {
- button.removeAttr('disabled');
- } else {
- button.attr('disabled','disabled');
- }
- });
-});
diff --git a/app/helpers/password_helper.rb b/app/helpers/password_helper.rb
index dca346662d..9653337699 100644
--- a/app/helpers/password_helper.rb
+++ b/app/helpers/password_helper.rb
@@ -31,10 +31,10 @@ module PasswordHelper
def render_password_complexity_tooltip
rules = password_rules_description
- s = content_tag(:p, OpenProject::Passwords::Evaluator.min_length_description)
- s += rules.capitalize.html_safe if rules.present?
+ s = OpenProject::Passwords::Evaluator.min_length_description
+ s += "
#{rules}" if rules.present?
- s
+ s.html_safe
end
private
diff --git a/app/views/my/_password_form_fields.html.erb b/app/views/my/_password_form_fields.html.erb
index 0725b5827c..d067dd7f22 100644
--- a/app/views/my/_password_form_fields.html.erb
+++ b/app/views/my/_password_form_fields.html.erb
@@ -11,19 +11,19 @@