Auth by username instead of email

Added username to User table/model
This commit is contained in:
Jason Denney
2013-05-25 11:08:58 -04:00
parent a07d6345e8
commit 9021294c4b
9 changed files with 25 additions and 7 deletions
@@ -2,6 +2,10 @@
%h2 Sign up
= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f|
= devise_error_messages!
%div
= f.label :username
%br/
= f.text_field :username
%div
= f.label :first_name
%br/