diff --git a/lib/philomena_web/templates/pow/registration/edit.html.slime b/lib/philomena_web/templates/pow/registration/edit.html.slime index f42b194e..2c9f290c 100644 --- a/lib/philomena_web/templates/pow/registration/edit.html.slime +++ b/lib/philomena_web/templates/pow/registration/edit.html.slime @@ -44,8 +44,8 @@ p = error_tag f, :password .field - = password_input f, :confirm_password, class: "input", placeholder: "Confirm new password" - = error_tag f, :confirm_password + = password_input f, :password_confirmation, class: "input", placeholder: "Confirm new password" + = error_tag f, :password_confirmation .fieldlabel ' Leave these blank if you don't want to change your password. diff --git a/lib/philomena_web/templates/pow/registration/new.html.slime b/lib/philomena_web/templates/pow/registration/new.html.slime index 4729517f..1dc6b2fd 100644 --- a/lib/philomena_web/templates/pow/registration/new.html.slime +++ b/lib/philomena_web/templates/pow/registration/new.html.slime @@ -25,8 +25,8 @@ h1 Register = password_input f, :password, class: "input", placeholder: "Password", required: true = error_tag f, :password .field - = password_input f, :confirm_password, class: "input", placeholder: "Confirm password", required: true - = error_tag f, :confirm_password + = password_input f, :password_confirmation, class: "input", placeholder: "Confirm password", required: true + = error_tag f, :password_confirmation .field = checkbox f, :captcha, class: "js-captcha", value: 0 diff --git a/lib/philomena_web/templates/pow_reset_password/reset_password/edit.html.slime b/lib/philomena_web/templates/pow_reset_password/reset_password/edit.html.slime index 172c9aec..7e5798b2 100644 --- a/lib/philomena_web/templates/pow_reset_password/reset_password/edit.html.slime +++ b/lib/philomena_web/templates/pow_reset_password/reset_password/edit.html.slime @@ -10,7 +10,7 @@ h1 Reset password = error_tag f, :password .field - = password_input f, :confirm_password, class: "input", placeholder: "Confirm password" - = error_tag f, :confirm_password + = password_input f, :password_confirmation, class: "input", placeholder: "Confirm password" + = error_tag f, :password_confirmation - = submit "Submit", class: "button" \ No newline at end of file + = submit "Submit", class: "button" diff --git a/priv/repo/seeds.json b/priv/repo/seeds.json index 0fd74c9e..6c4bf774 100644 --- a/priv/repo/seeds.json +++ b/priv/repo/seeds.json @@ -64,7 +64,7 @@ "name": "Administrator", "email": "admin@example.com", "password": "trixieisbestpony", - "confirm_password": "trixieisbestpony", + "password_confirmation": "trixieisbestpony", "role": "admin" }], "rating_tags": [ diff --git a/priv/repo/seeds_development.json b/priv/repo/seeds_development.json index bfa16a9d..f6371b65 100644 --- a/priv/repo/seeds_development.json +++ b/priv/repo/seeds_development.json @@ -3,21 +3,21 @@ "name": "Hot Pocket Consumer", "email": "moderator@example.com", "password": "willdeleteglimmerposts4hotpockets", - "confirm_password": "willdeleteglimmerposts4hotpockets", + "password_confirmation": "willdeleteglimmerposts4hotpockets", "role": "moderator" }, { "name": "Hoping For a Promotion", "email": "assistant@example.com", "password": "hotpocketfetchingass", - "confirm_password": "hotpocketfetchingass", + "password_confirmation": "hotpocketfetchingass", "role": "assistant" }, { "name": "Pleb", "email": "user@example.com", "password": "glimmerpostingplebeian", - "confirm_password": "glimmerpostingplebeian", + "password_confirmation": "glimmerpostingplebeian", "role": "user" } ], @@ -83,4 +83,4 @@ }] } ] -} \ No newline at end of file +}