mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 16:31:38 -04:00
Auth by username instead of email
Added username to User table/model
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user