Browse Source

User has_secure_password

Maarten van den Berg 8 years ago
parent
commit
b3c62f59a0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/models/user.rb

+ 1 - 0
app/models/user.rb

1
 class User < ApplicationRecord
1
 class User < ApplicationRecord
2
+  has_secure_password
2
   belongs_to :person
3
   belongs_to :person
3
 end
4
 end