summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/account/login.rhtml2
-rw-r--r--app/views/settings/edit.rhtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/account/login.rhtml b/app/views/account/login.rhtml
index 9f1e3dc63..5a94cb1ed 100644
--- a/app/views/account/login.rhtml
+++ b/app/views/account/login.rhtml
@@ -15,7 +15,7 @@
<br>
<% links = []
links << link_to(l(:label_register), :action => 'register') if Setting.self_registration?
- links << link_to(l(:label_password_lost), :action => 'password_lost') if Setting.password_lost?
+ links << link_to(l(:label_password_lost), :action => 'lost_password') if Setting.lost_password?
%>
<%= links.join(" | ") %>
</p>
diff --git a/app/views/settings/edit.rhtml b/app/views/settings/edit.rhtml
index c4a8d03d4..ed42d3478 100644
--- a/app/views/settings/edit.rhtml
+++ b/app/views/settings/edit.rhtml
@@ -21,7 +21,7 @@
<%= check_box_tag 'settings[self_registration]', 1, Setting.self_registration? %><%= hidden_field_tag 'settings[self_registration]', 0 %></p>
<p><label><%= l(:label_password_lost) %></label>
-<%= check_box_tag 'settings[password_lost]', 1, Setting.password_lost? %><%= hidden_field_tag 'settings[password_lost]', 0 %></p>
+<%= check_box_tag 'settings[lost_password]', 1, Setting.lost_password? %><%= hidden_field_tag 'settings[lost_password]', 0 %></p>
<p><label><%= l(:setting_attachment_max_size) %></label>
<%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p>