Fix #1406. Validate password only on create

This commit is contained in:
msdundar 2017-03-26 02:55:19 +03:00
parent a659cb615a
commit acbc7df96a
3 changed files with 4 additions and 3 deletions

View file

@ -7,7 +7,7 @@
Sign In
.panel-body
= semantic_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
= f.input :login
= f.input :login, label: "Username / Email"
= f.input :password
- if devise_mapping.rememberable?
%p.text-right.small