From 9f3b80a859a8e54856dd283b635a4abfe377feb9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 3 May 2019 18:57:24 +0200 Subject: use /account/... links for mail/password change --- templates/account.html.ep | 4 ++-- templates/change_mail.html.ep | 2 +- templates/change_password.html.ep | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/account.html.ep b/templates/account.html.ep index 38ffecb..7baacbe 100644 --- a/templates/account.html.ep +++ b/templates/account.html.ep @@ -30,11 +30,11 @@ Mail - edit<%= $acc->{email} %> + edit<%= $acc->{email} %> Passwort - edit + edit Öffentliche Daten diff --git a/templates/change_mail.html.ep b/templates/change_mail.html.ep index 6fde245..65d3d8d 100644 --- a/templates/change_mail.html.ep +++ b/templates/change_mail.html.ep @@ -20,7 +20,7 @@ % }

Mail ändern

-%= form_for '/change_mail' => (method => 'POST') => begin +%= form_for '/account/mail' => (method => 'POST') => begin %= csrf_field
diff --git a/templates/change_password.html.ep b/templates/change_password.html.ep index fa03e28..29aa621 100644 --- a/templates/change_password.html.ep +++ b/templates/change_password.html.ep @@ -3,7 +3,7 @@ % }

Passwort ändern

-%= form_for '/change_password' => (method => 'POST') => begin +%= form_for '/account/password' => (method => 'POST') => begin %= csrf_field
-- cgit v1.2.3