filling in everything needed to login and view the account page, wheeeee.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class User < ActiveRecord::Base
|
||||
validates_uniquness_of :username
|
||||
validates_uniqueness_of :username
|
||||
validates_confirmation_of :password, :on => :create
|
||||
validates_length_of :password, :within => 5..40
|
||||
|
||||
|
Reference in New Issue
Block a user