mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-18 23:16:10 +01:00
Added to fixtures a user with a SHA-1 password
This commit is contained in:
parent
e7301608a6
commit
34e0573fc4
3 changed files with 12 additions and 2 deletions
10
test/fixtures/users.yml
vendored
10
test/fixtures/users.yml
vendored
|
|
@ -48,3 +48,13 @@ ldap_user:
|
|||
first_name: International
|
||||
last_name: Harvester
|
||||
auth_type: CAS
|
||||
|
||||
user_with_sha1_password:
|
||||
id: 6
|
||||
login: mr_deprecated
|
||||
crypted_password: <%= Digest::SHA1::hexdigest("#{Tracks::Config.salt}--foobar--") %>
|
||||
token: <%= Digest::SHA1.hexdigest("mr_deprecatedSun Feb 19 14:42:45 GMT 20060.408173979260027") %>
|
||||
is_admin: false
|
||||
first_name: Mister
|
||||
last_name: Deprecated
|
||||
auth_type: database
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue