Require 'bcrypt' on top of app/models/user.rb

This commit is contained in:
Jan Stępień 2011-09-07 17:19:04 +02:00
parent 97431324db
commit 342b8ab4ef

View file

@ -1,4 +1,5 @@
require 'digest/sha1'
require 'bcrypt'
class User < ActiveRecord::Base
# Virtual attribute for the unencrypted password