Guest User

Untitled

a guest
Jun 21st, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. class User < ActiveRecord::Base
  2. acts_as_authentic do |config|
  3. config.validate_password_field :if => :require_password_on_signup?
  4. end
  5.  
  6. def require_password_on_signup?
  7. false
  8. end
  9. end
Add Comment
Please, Sign In to add comment