Project

General

Profile

« Previous | Next » 

Revision 686cb440

Added by Ohad Levy almost 14 years ago

  • ID 686cb440d4bfacbcbf399b3f183562c8cdc8ee0f

requireing the sha1 library, refs #145

View differences:

app/models/user.rb
require 'digest/sha1'
class User < ActiveRecord::Base
attr_protected :password_hash, :password_salt, :admin
attr_accessor :password, :password_confirmation

Also available in: Unified diff