Project

General

Profile

« Previous | Next » 

Revision 7a4ec5cf

Added by Paul Kelly almost 14 years ago

  • ID 7a4ec5cf7cd482e4adac225312aa02dbe82ff561

Fixes #145 - Added AuthSourceInternal

Added a password setting facility to the user class for AuthSourceInternal
Switched to SHA1
Changed :ldap to :login
Applied numerous fixes from Ohad Levy
Fixed malformed user page
Switched attr_accessible to attr_protected
Swiched prepare_password to a before_validation, otherwise validations will fail
Lots of test fixes!

View differences:

test/fixtures/users.yml
login: one
firstname: One
lastname: User
mail: MyString
mail: userone@someware.com
admin: false
last_login_on: 2009-10-12 21:50:04
auth_source_id: 1
auth_source: auth_sources(:one)
two:
login: two
firstname: Two
lastname: User
mail: MyString
mail: usertwo@someware.com
admin: false
last_login_on: 2009-10-12 21:50:04
auth_source_id: 1
auth_source: auth_sources(:one)

Also available in: Unified diff