added a setting option to disable "password lost" functionality
git-svn-id: http://redmine.rubyforge.org/svn/trunk@231 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
8b180aa606
commit
52c1718ee8
3 files changed
+13
-2
No files matched your search
@@ -12,7 +12,13 @@
|
||||
<p><center><input type="submit" name="login" value="<%=l(:button_login)%> »" class="primary" /></center>
|
||||
<% end %>
|
||||
|
||||
<br><% if Setting.self_registration? %><%= link_to l(:label_register), :action => 'register' %> |<% end %>
|
||||
<%= link_to l(:label_password_lost), :action => 'lost_password' %></p>
|
||||
<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.join(" | ") %>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</center>
|
||||
Reference in new issue
Block a user