devise_token_auth 0.1.28.beta8 → 0.1.28.beta9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/devise_token_auth/confirmations_controller.rb +2 -1
- data/app/controllers/devise_token_auth/passwords_controller.rb +2 -1
- data/lib/devise_token_auth/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3-journal +0 -0
- data/test/dummy/log/development.log +2673 -0
- data/test/dummy/log/test.log +682 -0
- metadata +3 -1
data/test/dummy/log/test.log
CHANGED
@@ -337996,3 +337996,685 @@ client-config: altUser
|
|
337996
337996
|
<p><a href="http://localhost/mangs/confirmation?config=altUser&confirmation_token=CBwMoHHjzpxzi3YXSYwU">Confirm my account</a></p>
|
337997
337997
|
|
337998
337998
|
[1m[35m (0.2ms)[0m rollback transaction
|
337999
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
338000
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
338001
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
338002
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs"
|
338003
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('mariah@weinattremblay.info', 'mariah@weinattremblay.info', 'email', '2014-09-08 14:44:54', '2014-09-08 14:44:54', '2014-09-08 14:44:54', 'http://ernser.com/cyril_beatty', '$2a$04$aJV8l9WmESePt7TjOIzIY.GXy./UJkKPdVqtq4xRnbaQ4I68NgMJ6', 511348230)[0m
|
338004
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('8221792034', 'nicklaus@rath.org', 'facebook', '2014-09-08 14:44:54', '2014-09-08 14:44:54', '2014-09-08 14:44:54', '$2a$04$U5CmErqCaV5RlzlKidbQAuvf/ls9Ffy5Gfrq4UGSoCbd0GLcNAGpW', 396948535)
|
338005
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('breanne_cain@nader.biz', 'breanne_cain@nader.biz', 'email', 'http://wunschkuvalis.info/alize', '2014-09-08 14:44:54', '2014-09-08 14:44:54', '$2a$04$GNTQ/5fJ4HSHGcSzRnQH1uhLlInH1GdTgEng.UiJYkSQSNf8Z.uxK', 701484147)[0m
|
338006
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
338007
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('jacquelyn@sanford.name', 'jacquelyn@sanford.name', 'email', '2014-09-08 14:44:55', '2014-09-08 14:44:55', '2014-09-08 14:44:55', 'http://zulauf.biz/godfrey.lynch', '$2a$04$TgS4LKuXGz/vfdpnTVOmDu7CKtPcPg9b1LOAmKb/V6QnuFNL12Hru', 511348230)[0m
|
338008
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('2137812737', 'jamison@heathcote.biz', 'facebook', '2014-09-08 14:44:55', '2014-09-08 14:44:55', '2014-09-08 14:44:55', '$2a$04$.l3/JOreR4qKinl6wWQ1mOdF/jp31bIVCpTaJv9X16qvFnn9l0JKq', 396948535)
|
338009
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('olen.rath@nitzsche.name', 'olen.rath@nitzsche.name', 'email', 'http://witting.name/hettie.maggio', '2014-09-08 14:44:55', '2014-09-08 14:44:55', '$2a$04$nkkozY1y0hi7MR4wiYFrueQ2n884POLd1qACLMLn9htb39SG9i.tm', 701484147)[0m
|
338010
|
+
[1m[35m (1.9ms)[0m commit transaction
|
338011
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
338012
|
+
----------------------------------------------------------------------------------------------------------------------------
|
338013
|
+
DeviseTokenAuth::PasswordsController::alternate user type: test_config_name_param_is_included_in_the_confirmation_email_link
|
338014
|
+
----------------------------------------------------------------------------------------------------------------------------
|
338015
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
|
338016
|
+
Processing by DeviseTokenAuth::PasswordsController#create as JS
|
338017
|
+
Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev", "config_name"=>"altUser"}
|
338018
|
+
Unpermitted parameters: redirect_url, config_name
|
338019
|
+
Unpermitted parameters: redirect_url, config_name
|
338020
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m
|
338021
|
+
Unpermitted parameters: redirect_url, config_name
|
338022
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'a9f83ba36ad0bc461bb825d40bbfc35b65d51b0018713bacaad7ae89a2993468' ORDER BY "users"."id" ASC LIMIT 1
|
338023
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
338024
|
+
Binary data inserted for `string` type on column `reset_password_token`
|
338025
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-09-22 19:44:55.425598"], ["reset_password_token", "a9f83ba36ad0bc461bb825d40bbfc35b65d51b0018713bacaad7ae89a2993468"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.425983"]]
|
338026
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
338027
|
+
Rendered /Users/lynn/Code/Auth/devise_token_auth/app/views/devise/mailer/reset_password_instructions.html.erb (2.2ms)
|
338028
|
+
|
338029
|
+
Devise::Mailer#reset_password_instructions: processed outbound mail in 12.7ms
|
338030
|
+
|
338031
|
+
Sent mail to jacquelyn@sanford.name (9.2ms)
|
338032
|
+
Date: Mon, 22 Sep 2014 14:44:55 -0500
|
338033
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
338034
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
338035
|
+
To: jacquelyn@sanford.name
|
338036
|
+
Message-ID: <54207c376df53_1217f3fd481065be0778a8@tests-MacBook-Pro-2.local.mail>
|
338037
|
+
Subject: Reset password instructions
|
338038
|
+
Mime-Version: 1.0
|
338039
|
+
Content-Type: text/html;
|
338040
|
+
charset=UTF-8
|
338041
|
+
Content-Transfer-Encoding: 7bit
|
338042
|
+
email: jacquelyn@sanford.name
|
338043
|
+
provider: email
|
338044
|
+
redirect-url: http://ng-token-auth.dev
|
338045
|
+
client-config: altUser
|
338046
|
+
|
338047
|
+
<p>Hello jacquelyn@sanford.name!</p>
|
338048
|
+
|
338049
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
338050
|
+
|
338051
|
+
<p><a href="http://localhost/auth/password/edit?config=altUser&redirect_url=http%3A%2F%2Fng-token-auth.dev&reset_password_token=2tYMBBkxM2-YyxH6bKk_">Change my password</a></p>
|
338052
|
+
|
338053
|
+
<p>If you didn't request this, please ignore this email.</p>
|
338054
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
338055
|
+
|
338056
|
+
Completed 200 OK in 214ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
338057
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
|
338058
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
338059
|
+
[1m[35m (0.0ms)[0m begin transaction
|
338060
|
+
------------------------------------------------------------------------------------------------------
|
338061
|
+
DeviseTokenAuth::PasswordsController::Alternate user class: test_response_should_return_success_status
|
338062
|
+
------------------------------------------------------------------------------------------------------
|
338063
|
+
[1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1[0m [["id", 511348230]]
|
338064
|
+
Processing by DeviseTokenAuth::PasswordsController#create as JS
|
338065
|
+
Parameters: {"email"=>"mariah@weinattremblay.info", "redirect_url"=>"http://ng-token-auth.dev"}
|
338066
|
+
Unpermitted parameters: redirect_url
|
338067
|
+
Unpermitted parameters: redirect_url
|
338068
|
+
[1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'mariah@weinattremblay.info' AND "mangs"."provider" = 'email' ORDER BY "mangs"."id" ASC LIMIT 1
|
338069
|
+
Unpermitted parameters: redirect_url
|
338070
|
+
[1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."reset_password_token" = 'a63b8e46558f0d280d0645bb0526e22eaa9694e2d3fb8bd1d95001533ee02a0e' ORDER BY "mangs"."id" ASC LIMIT 1[0m
|
338071
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
338072
|
+
Binary data inserted for `string` type on column `reset_password_token`
|
338073
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "mangs" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["reset_password_sent_at", "2014-09-22 19:44:55.462915"], ["reset_password_token", "a63b8e46558f0d280d0645bb0526e22eaa9694e2d3fb8bd1d95001533ee02a0e"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.463165"]]
|
338074
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
338075
|
+
|
338076
|
+
Devise::Mailer#reset_password_instructions: processed outbound mail in 1.5ms
|
338077
|
+
|
338078
|
+
Sent mail to mariah@weinattremblay.info (2.3ms)
|
338079
|
+
Date: Mon, 22 Sep 2014 14:44:55 -0500
|
338080
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
338081
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
338082
|
+
To: mariah@weinattremblay.info
|
338083
|
+
Message-ID: <54207c3772030_1217f3fd481065be0779c3@tests-MacBook-Pro-2.local.mail>
|
338084
|
+
Subject: Reset password instructions
|
338085
|
+
Mime-Version: 1.0
|
338086
|
+
Content-Type: text/html;
|
338087
|
+
charset=UTF-8
|
338088
|
+
Content-Transfer-Encoding: 7bit
|
338089
|
+
email: mariah@weinattremblay.info
|
338090
|
+
provider: email
|
338091
|
+
redirect-url: http://ng-token-auth.dev
|
338092
|
+
client-config: default
|
338093
|
+
|
338094
|
+
<p>Hello mariah@weinattremblay.info!</p>
|
338095
|
+
|
338096
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
338097
|
+
|
338098
|
+
<p><a href="http://localhost/mangs/password/edit?config=default&redirect_url=http%3A%2F%2Fng-token-auth.dev&reset_password_token=QCAR5yMfaqTE5pUndVEP">Change my password</a></p>
|
338099
|
+
|
338100
|
+
<p>If you didn't request this, please ignore this email.</p>
|
338101
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
338102
|
+
|
338103
|
+
Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
338104
|
+
[1m[36mMang Load (0.0ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1[0m [["id", 511348230]]
|
338105
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
338106
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
338107
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
338108
|
+
DeviseTokenAuth::PasswordsController::Alternate user class: test_the_email_body_should_contain_a_link_with_reset_token_as_a_query_param
|
338109
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
338110
|
+
[1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]]
|
338111
|
+
Processing by DeviseTokenAuth::PasswordsController#create as JS
|
338112
|
+
Parameters: {"email"=>"mariah@weinattremblay.info", "redirect_url"=>"http://ng-token-auth.dev"}
|
338113
|
+
Unpermitted parameters: redirect_url
|
338114
|
+
Unpermitted parameters: redirect_url
|
338115
|
+
[1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'mariah@weinattremblay.info' AND "mangs"."provider" = 'email' ORDER BY "mangs"."id" ASC LIMIT 1[0m
|
338116
|
+
Unpermitted parameters: redirect_url
|
338117
|
+
[1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."reset_password_token" = '395c4de49c93c3a7a253695c390d28f0f171b3bcf940c2f351001aec11567c5a' ORDER BY "mangs"."id" ASC LIMIT 1
|
338118
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
338119
|
+
Binary data inserted for `string` type on column `reset_password_token`
|
338120
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "mangs" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["reset_password_sent_at", "2014-09-22 19:44:55.472962"], ["reset_password_token", "395c4de49c93c3a7a253695c390d28f0f171b3bcf940c2f351001aec11567c5a"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.473149"]]
|
338121
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
338122
|
+
|
338123
|
+
Devise::Mailer#reset_password_instructions: processed outbound mail in 1.3ms
|
338124
|
+
|
338125
|
+
Sent mail to mariah@weinattremblay.info (2.1ms)
|
338126
|
+
Date: Mon, 22 Sep 2014 14:44:55 -0500
|
338127
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
338128
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
338129
|
+
To: mariah@weinattremblay.info
|
338130
|
+
Message-ID: <54207c3774545_1217f3fd481065be07807b@tests-MacBook-Pro-2.local.mail>
|
338131
|
+
Subject: Reset password instructions
|
338132
|
+
Mime-Version: 1.0
|
338133
|
+
Content-Type: text/html;
|
338134
|
+
charset=UTF-8
|
338135
|
+
Content-Transfer-Encoding: 7bit
|
338136
|
+
email: mariah@weinattremblay.info
|
338137
|
+
provider: email
|
338138
|
+
redirect-url: http://ng-token-auth.dev
|
338139
|
+
client-config: default
|
338140
|
+
|
338141
|
+
<p>Hello mariah@weinattremblay.info!</p>
|
338142
|
+
|
338143
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
338144
|
+
|
338145
|
+
<p><a href="http://localhost/mangs/password/edit?config=default&redirect_url=http%3A%2F%2Fng-token-auth.dev&reset_password_token=PJDCqD_EAzA8LFqq_VQ6">Change my password</a></p>
|
338146
|
+
|
338147
|
+
<p>If you didn't request this, please ignore this email.</p>
|
338148
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
338149
|
+
|
338150
|
+
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
338151
|
+
[1m[35mMang Load (0.0ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]]
|
338152
|
+
[1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."reset_password_token" = '395c4de49c93c3a7a253695c390d28f0f171b3bcf940c2f351001aec11567c5a' ORDER BY "mangs"."id" ASC LIMIT 1[0m
|
338153
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
338154
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "mangs" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.480229"]]
|
338155
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
338156
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
338157
|
+
[1m[35m (0.0ms)[0m begin transaction
|
338158
|
+
--------------------------------------------------------------------------------------------------------------------------
|
338159
|
+
DeviseTokenAuth::PasswordsController::Password reset::change password::success: test_new_password_should_authenticate_user
|
338160
|
+
--------------------------------------------------------------------------------------------------------------------------
|
338161
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]]
|
338162
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
338163
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"l8w8EftJnhmAQhF9-etRnA\":{\"token\":\"$2a$10$.NjH9foQuTL5ZMyV5aYqfuq2JRkzEt9uGApljlR.cpvsCiT7rDn0m\",\"expiry\":1412624695,\"last_token\":null,\"updated_at\":\"2014-09-22T14:44:55.542-05:00\"}}"], ["updated_at", "2014-09-22 19:44:55.543477"]]
|
338164
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
338165
|
+
Processing by DeviseTokenAuth::PasswordsController#update as JS
|
338166
|
+
Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}
|
338167
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'jacquelyn@sanford.name' LIMIT 1[0m
|
338168
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
338169
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
338170
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "encrypted_password" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["encrypted_password", "$2a$04$3sDRD95bogyiBCId1kJEPeWghR.f3kH4YcTMw8S/vVAasFNQPAcwO"], ["tokens", "{\"l8w8EftJnhmAQhF9-etRnA\":{\"token\":\"$2a$10$.NjH9foQuTL5ZMyV5aYqfuq2JRkzEt9uGApljlR.cpvsCiT7rDn0m\",\"expiry\":1412624695,\"last_token\":null,\"updated_at\":\"2014-09-22T14:44:55.542-05:00\"}}"], ["updated_at", "2014-09-22 19:44:55.607357"]]
|
338171
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
338172
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
338173
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"l8w8EftJnhmAQhF9-etRnA\":{\"token\":\"$2a$10$.NjH9foQuTL5ZMyV5aYqfuq2JRkzEt9uGApljlR.cpvsCiT7rDn0m\",\"expiry\":1412624695,\"last_token\":null,\"updated_at\":\"2014-09-22T14:44:55.609-05:00\"}}"], ["updated_at", "2014-09-22 19:44:55.609379"]]
|
338174
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
338175
|
+
Completed 200 OK in 64ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
338176
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
|
338177
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
338178
|
+
[1m[35m (0.1ms)[0m begin transaction
|
338179
|
+
-----------------------------------------------------------------------------------------------------------------
|
338180
|
+
DeviseTokenAuth::PasswordsController::Password reset::change password::success: test_request_should_be_successful
|
338181
|
+
-----------------------------------------------------------------------------------------------------------------
|
338182
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]]
|
338183
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
338184
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Fo16ZXjsj9guXWw6lkmosA\":{\"token\":\"$2a$10$o8pE.AZQ.Y67cHqZS/xtMO7Clds88nTfeZDa/kF8R4KYDcZ8RSwve\",\"expiry\":1412624695,\"last_token\":null,\"updated_at\":\"2014-09-22T14:44:55.675-05:00\"}}"], ["updated_at", "2014-09-22 19:44:55.676172"]]
|
338185
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
338186
|
+
Processing by DeviseTokenAuth::PasswordsController#update as JS
|
338187
|
+
Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}
|
338188
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'jacquelyn@sanford.name' LIMIT 1[0m
|
338189
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
338190
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
338191
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "encrypted_password" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["encrypted_password", "$2a$04$8CBLVOXDL3ATpEb7F21g6O0YgvRraRyye2Lb.atLb2akMIJjipvPG"], ["tokens", "{\"Fo16ZXjsj9guXWw6lkmosA\":{\"token\":\"$2a$10$o8pE.AZQ.Y67cHqZS/xtMO7Clds88nTfeZDa/kF8R4KYDcZ8RSwve\",\"expiry\":1412624695,\"last_token\":null,\"updated_at\":\"2014-09-22T14:44:55.675-05:00\"}}"], ["updated_at", "2014-09-22 19:44:55.740081"]]
|
338192
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
338193
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
338194
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Fo16ZXjsj9guXWw6lkmosA\":{\"token\":\"$2a$10$o8pE.AZQ.Y67cHqZS/xtMO7Clds88nTfeZDa/kF8R4KYDcZ8RSwve\",\"expiry\":1412624695,\"last_token\":null,\"updated_at\":\"2014-09-22T14:44:55.741-05:00\"}}"], ["updated_at", "2014-09-22 19:44:55.742111"]]
|
338195
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
338196
|
+
Completed 200 OK in 64ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
338197
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
|
338198
|
+
[1m[36m (1.4ms)[0m [1mrollback transaction[0m
|
338199
|
+
[1m[35m (0.0ms)[0m begin transaction
|
338200
|
+
------------------------------------------------------------------------------------------------------------------------------------------------
|
338201
|
+
DeviseTokenAuth::PasswordsController::Password reset::request password reset::password reset link failure: test_request_should_not_be_authorized
|
338202
|
+
------------------------------------------------------------------------------------------------------------------------------------------------
|
338203
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]]
|
338204
|
+
Processing by DeviseTokenAuth::PasswordsController#create as JS
|
338205
|
+
Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev"}
|
338206
|
+
Unpermitted parameters: redirect_url
|
338207
|
+
Unpermitted parameters: redirect_url
|
338208
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1
|
338209
|
+
Unpermitted parameters: redirect_url
|
338210
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '1beacf1ec9749c59a97306ab140f44d36e03fcb09dc7ad6b2956ba50ac7ef95a' ORDER BY "users"."id" ASC LIMIT 1[0m
|
338211
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
338212
|
+
Binary data inserted for `string` type on column `reset_password_token`
|
338213
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-09-22 19:44:55.748645"], ["reset_password_token", "1beacf1ec9749c59a97306ab140f44d36e03fcb09dc7ad6b2956ba50ac7ef95a"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.748831"]]
|
338214
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
338215
|
+
|
338216
|
+
Devise::Mailer#reset_password_instructions: processed outbound mail in 1.5ms
|
338217
|
+
|
338218
|
+
Sent mail to jacquelyn@sanford.name (2.2ms)
|
338219
|
+
Date: Mon, 22 Sep 2014 14:44:55 -0500
|
338220
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
338221
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
338222
|
+
To: jacquelyn@sanford.name
|
338223
|
+
Message-ID: <54207c37b7b23_1217f3fd481065be078131@tests-MacBook-Pro-2.local.mail>
|
338224
|
+
Subject: Reset password instructions
|
338225
|
+
Mime-Version: 1.0
|
338226
|
+
Content-Type: text/html;
|
338227
|
+
charset=UTF-8
|
338228
|
+
Content-Transfer-Encoding: 7bit
|
338229
|
+
email: jacquelyn@sanford.name
|
338230
|
+
provider: email
|
338231
|
+
redirect-url: http://ng-token-auth.dev
|
338232
|
+
client-config: default
|
338233
|
+
|
338234
|
+
<p>Hello jacquelyn@sanford.name!</p>
|
338235
|
+
|
338236
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
338237
|
+
|
338238
|
+
<p><a href="http://localhost/auth/password/edit?config=default&redirect_url=http%3A%2F%2Fng-token-auth.dev&reset_password_token=q4ThQyJZN7w9zAopChrr">Change my password</a></p>
|
338239
|
+
|
338240
|
+
<p>If you didn't request this, please ignore this email.</p>
|
338241
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
338242
|
+
|
338243
|
+
Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
338244
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]]
|
338245
|
+
Processing by DeviseTokenAuth::PasswordsController#edit as JS
|
338246
|
+
Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"}
|
338247
|
+
Unpermitted parameters: redirect_url
|
338248
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '40181768d23216b4143018d5d1a3b53727d1bf806790e5d489878ce189c9da30' ORDER BY "users"."id" ASC LIMIT 1
|
338249
|
+
Completed 404 Not Found in 2ms
|
338250
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
338251
|
+
[1m[35m (0.0ms)[0m begin transaction
|
338252
|
+
--------------------------------------------------------------------------------------------------------------
|
338253
|
+
DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_action_should_send_an_email
|
338254
|
+
--------------------------------------------------------------------------------------------------------------
|
338255
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]]
|
338256
|
+
Processing by DeviseTokenAuth::PasswordsController#create as JS
|
338257
|
+
Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev"}
|
338258
|
+
Unpermitted parameters: redirect_url
|
338259
|
+
Unpermitted parameters: redirect_url
|
338260
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1
|
338261
|
+
Unpermitted parameters: redirect_url
|
338262
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '234b7b6fefc7434a61d54a7b71e073773e2c81931479425af052bf7d1c6b2957' ORDER BY "users"."id" ASC LIMIT 1[0m
|
338263
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
338264
|
+
Binary data inserted for `string` type on column `reset_password_token`
|
338265
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-09-22 19:44:55.761938"], ["reset_password_token", "234b7b6fefc7434a61d54a7b71e073773e2c81931479425af052bf7d1c6b2957"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.762137"]]
|
338266
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
338267
|
+
|
338268
|
+
Devise::Mailer#reset_password_instructions: processed outbound mail in 1.4ms
|
338269
|
+
|
338270
|
+
Sent mail to jacquelyn@sanford.name (2.2ms)
|
338271
|
+
Date: Mon, 22 Sep 2014 14:44:55 -0500
|
338272
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
338273
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
338274
|
+
To: jacquelyn@sanford.name
|
338275
|
+
Message-ID: <54207c37baea5_1217f3fd481065be0782e8@tests-MacBook-Pro-2.local.mail>
|
338276
|
+
Subject: Reset password instructions
|
338277
|
+
Mime-Version: 1.0
|
338278
|
+
Content-Type: text/html;
|
338279
|
+
charset=UTF-8
|
338280
|
+
Content-Transfer-Encoding: 7bit
|
338281
|
+
email: jacquelyn@sanford.name
|
338282
|
+
provider: email
|
338283
|
+
redirect-url: http://ng-token-auth.dev
|
338284
|
+
client-config: default
|
338285
|
+
|
338286
|
+
<p>Hello jacquelyn@sanford.name!</p>
|
338287
|
+
|
338288
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
338289
|
+
|
338290
|
+
<p><a href="http://localhost/auth/password/edit?config=default&redirect_url=http%3A%2F%2Fng-token-auth.dev&reset_password_token=1E-L_XcT9Ky5YnCvWEb8">Change my password</a></p>
|
338291
|
+
|
338292
|
+
<p>If you didn't request this, please ignore this email.</p>
|
338293
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
338294
|
+
|
338295
|
+
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
338296
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]]
|
338297
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
338298
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
338299
|
+
------------------------------------------------------------------------------------------------------------------------
|
338300
|
+
DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_response_should_return_success_status
|
338301
|
+
------------------------------------------------------------------------------------------------------------------------
|
338302
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
|
338303
|
+
Processing by DeviseTokenAuth::PasswordsController#create as JS
|
338304
|
+
Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev"}
|
338305
|
+
Unpermitted parameters: redirect_url
|
338306
|
+
Unpermitted parameters: redirect_url
|
338307
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m
|
338308
|
+
Unpermitted parameters: redirect_url
|
338309
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '73d2e6049020d30531ef5b8548810ddd60b8b4875f012900a827dcaa61268736' ORDER BY "users"."id" ASC LIMIT 1
|
338310
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
338311
|
+
Binary data inserted for `string` type on column `reset_password_token`
|
338312
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-09-22 19:44:55.771385"], ["reset_password_token", "73d2e6049020d30531ef5b8548810ddd60b8b4875f012900a827dcaa61268736"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.771573"]]
|
338313
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
338314
|
+
|
338315
|
+
Devise::Mailer#reset_password_instructions: processed outbound mail in 1.3ms
|
338316
|
+
|
338317
|
+
Sent mail to jacquelyn@sanford.name (2.1ms)
|
338318
|
+
Date: Mon, 22 Sep 2014 14:44:55 -0500
|
338319
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
338320
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
338321
|
+
To: jacquelyn@sanford.name
|
338322
|
+
Message-ID: <54207c37bd2aa_1217f3fd481065be07837d@tests-MacBook-Pro-2.local.mail>
|
338323
|
+
Subject: Reset password instructions
|
338324
|
+
Mime-Version: 1.0
|
338325
|
+
Content-Type: text/html;
|
338326
|
+
charset=UTF-8
|
338327
|
+
Content-Transfer-Encoding: 7bit
|
338328
|
+
email: jacquelyn@sanford.name
|
338329
|
+
provider: email
|
338330
|
+
redirect-url: http://ng-token-auth.dev
|
338331
|
+
client-config: default
|
338332
|
+
|
338333
|
+
<p>Hello jacquelyn@sanford.name!</p>
|
338334
|
+
|
338335
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
338336
|
+
|
338337
|
+
<p><a href="http://localhost/auth/password/edit?config=default&redirect_url=http%3A%2F%2Fng-token-auth.dev&reset_password_token=itCBxBBjMs6462M6i6y8">Change my password</a></p>
|
338338
|
+
|
338339
|
+
<p>If you didn't request this, please ignore this email.</p>
|
338340
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
338341
|
+
|
338342
|
+
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
338343
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
|
338344
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
338345
|
+
[1m[35m (0.0ms)[0m begin transaction
|
338346
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
338347
|
+
DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_client_config_name_should_fall_back_to_"default"
|
338348
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
338349
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]]
|
338350
|
+
Processing by DeviseTokenAuth::PasswordsController#create as JS
|
338351
|
+
Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev"}
|
338352
|
+
Unpermitted parameters: redirect_url
|
338353
|
+
Unpermitted parameters: redirect_url
|
338354
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1
|
338355
|
+
Unpermitted parameters: redirect_url
|
338356
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'febf5e7fb41903db6cc05f8733b0e45b94e62e2e52e16b91e322ca8a789d94ab' ORDER BY "users"."id" ASC LIMIT 1[0m
|
338357
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
338358
|
+
Binary data inserted for `string` type on column `reset_password_token`
|
338359
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-09-22 19:44:55.780333"], ["reset_password_token", "febf5e7fb41903db6cc05f8733b0e45b94e62e2e52e16b91e322ca8a789d94ab"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.780517"]]
|
338360
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
338361
|
+
|
338362
|
+
Devise::Mailer#reset_password_instructions: processed outbound mail in 1.4ms
|
338363
|
+
|
338364
|
+
Sent mail to jacquelyn@sanford.name (2.2ms)
|
338365
|
+
Date: Mon, 22 Sep 2014 14:44:55 -0500
|
338366
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
338367
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
338368
|
+
To: jacquelyn@sanford.name
|
338369
|
+
Message-ID: <54207c37bf691_1217f3fd481065be0784db@tests-MacBook-Pro-2.local.mail>
|
338370
|
+
Subject: Reset password instructions
|
338371
|
+
Mime-Version: 1.0
|
338372
|
+
Content-Type: text/html;
|
338373
|
+
charset=UTF-8
|
338374
|
+
Content-Transfer-Encoding: 7bit
|
338375
|
+
email: jacquelyn@sanford.name
|
338376
|
+
provider: email
|
338377
|
+
redirect-url: http://ng-token-auth.dev
|
338378
|
+
client-config: default
|
338379
|
+
|
338380
|
+
<p>Hello jacquelyn@sanford.name!</p>
|
338381
|
+
|
338382
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
338383
|
+
|
338384
|
+
<p><a href="http://localhost/auth/password/edit?config=default&redirect_url=http%3A%2F%2Fng-token-auth.dev&reset_password_token=nvxXtk9H6h5pizeSE6Mo">Change my password</a></p>
|
338385
|
+
|
338386
|
+
<p>If you didn't request this, please ignore this email.</p>
|
338387
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
338388
|
+
|
338389
|
+
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
338390
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]]
|
338391
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
338392
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
338393
|
+
----------------------------------------------------------------------------------------------------------------------------------------------------------
|
338394
|
+
DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_email_body_should_contain_a_link_with_redirect_url_as_a_query_param
|
338395
|
+
----------------------------------------------------------------------------------------------------------------------------------------------------------
|
338396
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
|
338397
|
+
Processing by DeviseTokenAuth::PasswordsController#create as JS
|
338398
|
+
Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev"}
|
338399
|
+
Unpermitted parameters: redirect_url
|
338400
|
+
Unpermitted parameters: redirect_url
|
338401
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m
|
338402
|
+
Unpermitted parameters: redirect_url
|
338403
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '06c1ddf133b96f0947b61631a9f2b7038c31eaac70bbc41436e433faeda169ae' ORDER BY "users"."id" ASC LIMIT 1
|
338404
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
338405
|
+
Binary data inserted for `string` type on column `reset_password_token`
|
338406
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-09-22 19:44:55.789736"], ["reset_password_token", "06c1ddf133b96f0947b61631a9f2b7038c31eaac70bbc41436e433faeda169ae"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.789919"]]
|
338407
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
338408
|
+
|
338409
|
+
Devise::Mailer#reset_password_instructions: processed outbound mail in 1.2ms
|
338410
|
+
|
338411
|
+
Sent mail to jacquelyn@sanford.name (2.1ms)
|
338412
|
+
Date: Mon, 22 Sep 2014 14:44:55 -0500
|
338413
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
338414
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
338415
|
+
To: jacquelyn@sanford.name
|
338416
|
+
Message-ID: <54207c37c1a0d_1217f3fd481065be078557@tests-MacBook-Pro-2.local.mail>
|
338417
|
+
Subject: Reset password instructions
|
338418
|
+
Mime-Version: 1.0
|
338419
|
+
Content-Type: text/html;
|
338420
|
+
charset=UTF-8
|
338421
|
+
Content-Transfer-Encoding: 7bit
|
338422
|
+
email: jacquelyn@sanford.name
|
338423
|
+
provider: email
|
338424
|
+
redirect-url: http://ng-token-auth.dev
|
338425
|
+
client-config: default
|
338426
|
+
|
338427
|
+
<p>Hello jacquelyn@sanford.name!</p>
|
338428
|
+
|
338429
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
338430
|
+
|
338431
|
+
<p><a href="http://localhost/auth/password/edit?config=default&redirect_url=http%3A%2F%2Fng-token-auth.dev&reset_password_token=r48n2oabgCz9HdpCr5KL">Change my password</a></p>
|
338432
|
+
|
338433
|
+
<p>If you didn't request this, please ignore this email.</p>
|
338434
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
338435
|
+
|
338436
|
+
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
338437
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
|
338438
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
338439
|
+
[1m[35m (0.0ms)[0m begin transaction
|
338440
|
+
---------------------------------------------------------------------------------------------------------------------------------------------------------
|
338441
|
+
DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_email_body_should_contain_a_link_with_reset_token_as_a_query_param
|
338442
|
+
---------------------------------------------------------------------------------------------------------------------------------------------------------
|
338443
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]]
|
338444
|
+
Processing by DeviseTokenAuth::PasswordsController#create as JS
|
338445
|
+
Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev"}
|
338446
|
+
Unpermitted parameters: redirect_url
|
338447
|
+
Unpermitted parameters: redirect_url
|
338448
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1
|
338449
|
+
Unpermitted parameters: redirect_url
|
338450
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '06900464b64c4d63f2522515489de2e3090165514df167b019bd2bbacfadb123' ORDER BY "users"."id" ASC LIMIT 1[0m
|
338451
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
338452
|
+
Binary data inserted for `string` type on column `reset_password_token`
|
338453
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-09-22 19:44:55.798503"], ["reset_password_token", "06900464b64c4d63f2522515489de2e3090165514df167b019bd2bbacfadb123"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.798690"]]
|
338454
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
338455
|
+
|
338456
|
+
Devise::Mailer#reset_password_instructions: processed outbound mail in 1.3ms
|
338457
|
+
|
338458
|
+
Sent mail to jacquelyn@sanford.name (2.1ms)
|
338459
|
+
Date: Mon, 22 Sep 2014 14:44:55 -0500
|
338460
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
338461
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
338462
|
+
To: jacquelyn@sanford.name
|
338463
|
+
Message-ID: <54207c37c3ccc_1217f3fd481065be078680@tests-MacBook-Pro-2.local.mail>
|
338464
|
+
Subject: Reset password instructions
|
338465
|
+
Mime-Version: 1.0
|
338466
|
+
Content-Type: text/html;
|
338467
|
+
charset=UTF-8
|
338468
|
+
Content-Transfer-Encoding: 7bit
|
338469
|
+
email: jacquelyn@sanford.name
|
338470
|
+
provider: email
|
338471
|
+
redirect-url: http://ng-token-auth.dev
|
338472
|
+
client-config: default
|
338473
|
+
|
338474
|
+
<p>Hello jacquelyn@sanford.name!</p>
|
338475
|
+
|
338476
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
338477
|
+
|
338478
|
+
<p><a href="http://localhost/auth/password/edit?config=default&redirect_url=http%3A%2F%2Fng-token-auth.dev&reset_password_token=uY329sHcEfzWf4gLdVSY">Change my password</a></p>
|
338479
|
+
|
338480
|
+
<p>If you didn't request this, please ignore this email.</p>
|
338481
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
338482
|
+
|
338483
|
+
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
338484
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]]
|
338485
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '06900464b64c4d63f2522515489de2e3090165514df167b019bd2bbacfadb123' ORDER BY "users"."id" ASC LIMIT 1
|
338486
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
338487
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.805066"]]
|
338488
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
338489
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
338490
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
338491
|
+
----------------------------------------------------------------------------------------------------------------------------
|
338492
|
+
DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_email_should_be_addressed_to_the_user
|
338493
|
+
----------------------------------------------------------------------------------------------------------------------------
|
338494
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
|
338495
|
+
Processing by DeviseTokenAuth::PasswordsController#create as JS
|
338496
|
+
Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev"}
|
338497
|
+
Unpermitted parameters: redirect_url
|
338498
|
+
Unpermitted parameters: redirect_url
|
338499
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m
|
338500
|
+
Unpermitted parameters: redirect_url
|
338501
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '2f81038e50d2ea4594f0c39395165b038e2ca88608beee6641fbd63ed6c0eed9' ORDER BY "users"."id" ASC LIMIT 1
|
338502
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
338503
|
+
Binary data inserted for `string` type on column `reset_password_token`
|
338504
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-09-22 19:44:55.809687"], ["reset_password_token", "2f81038e50d2ea4594f0c39395165b038e2ca88608beee6641fbd63ed6c0eed9"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.809882"]]
|
338505
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
338506
|
+
|
338507
|
+
Devise::Mailer#reset_password_instructions: processed outbound mail in 1.3ms
|
338508
|
+
|
338509
|
+
Sent mail to jacquelyn@sanford.name (2.1ms)
|
338510
|
+
Date: Mon, 22 Sep 2014 14:44:55 -0500
|
338511
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
338512
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
338513
|
+
To: jacquelyn@sanford.name
|
338514
|
+
Message-ID: <54207c37c68b6_1217f3fd481065be078760@tests-MacBook-Pro-2.local.mail>
|
338515
|
+
Subject: Reset password instructions
|
338516
|
+
Mime-Version: 1.0
|
338517
|
+
Content-Type: text/html;
|
338518
|
+
charset=UTF-8
|
338519
|
+
Content-Transfer-Encoding: 7bit
|
338520
|
+
email: jacquelyn@sanford.name
|
338521
|
+
provider: email
|
338522
|
+
redirect-url: http://ng-token-auth.dev
|
338523
|
+
client-config: default
|
338524
|
+
|
338525
|
+
<p>Hello jacquelyn@sanford.name!</p>
|
338526
|
+
|
338527
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
338528
|
+
|
338529
|
+
<p><a href="http://localhost/auth/password/edit?config=default&redirect_url=http%3A%2F%2Fng-token-auth.dev&reset_password_token=zHctziNyUrPmCDDmsCMv">Change my password</a></p>
|
338530
|
+
|
338531
|
+
<p>If you didn't request this, please ignore this email.</p>
|
338532
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
338533
|
+
|
338534
|
+
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
338535
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
|
338536
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
338537
|
+
[1m[35m (0.1ms)[0m begin transaction
|
338538
|
+
-----------------------------------------------------------------------------------------------------------
|
338539
|
+
DeviseTokenAuth::PasswordsController::unconfirmed user: test_unconfirmed_email_user_should_now_be_confirmed
|
338540
|
+
-----------------------------------------------------------------------------------------------------------
|
338541
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 701484147]]
|
338542
|
+
Processing by DeviseTokenAuth::PasswordsController#create as JS
|
338543
|
+
Parameters: {"email"=>"olen.rath@nitzsche.name", "redirect_url"=>"http://ng-token-auth.dev"}
|
338544
|
+
Unpermitted parameters: redirect_url
|
338545
|
+
Unpermitted parameters: redirect_url
|
338546
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'olen.rath@nitzsche.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1
|
338547
|
+
Unpermitted parameters: redirect_url
|
338548
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '7eaca395eb3dd83b3cfe14e031021474aad3f3401066ece0015bcfcd7b514bb6' ORDER BY "users"."id" ASC LIMIT 1[0m
|
338549
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
338550
|
+
Binary data inserted for `string` type on column `reset_password_token`
|
338551
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["reset_password_sent_at", "2014-09-22 19:44:55.819815"], ["reset_password_token", "7eaca395eb3dd83b3cfe14e031021474aad3f3401066ece0015bcfcd7b514bb6"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.820006"]]
|
338552
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
338553
|
+
|
338554
|
+
Devise::Mailer#reset_password_instructions: processed outbound mail in 1.3ms
|
338555
|
+
|
338556
|
+
Sent mail to olen.rath@nitzsche.name (2.1ms)
|
338557
|
+
Date: Mon, 22 Sep 2014 14:44:55 -0500
|
338558
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
338559
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
338560
|
+
To: olen.rath@nitzsche.name
|
338561
|
+
Message-ID: <54207c37c904b_1217f3fd481065be078852@tests-MacBook-Pro-2.local.mail>
|
338562
|
+
Subject: Reset password instructions
|
338563
|
+
Mime-Version: 1.0
|
338564
|
+
Content-Type: text/html;
|
338565
|
+
charset=UTF-8
|
338566
|
+
Content-Transfer-Encoding: 7bit
|
338567
|
+
email: olen.rath@nitzsche.name
|
338568
|
+
provider: email
|
338569
|
+
redirect-url: http://ng-token-auth.dev
|
338570
|
+
client-config: default
|
338571
|
+
|
338572
|
+
<p>Hello olen.rath@nitzsche.name!</p>
|
338573
|
+
|
338574
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
338575
|
+
|
338576
|
+
<p><a href="http://localhost/auth/password/edit?config=default&redirect_url=http%3A%2F%2Fng-token-auth.dev&reset_password_token=ts5-UiWHta7fvqL58pbz">Change my password</a></p>
|
338577
|
+
|
338578
|
+
<p>If you didn't request this, please ignore this email.</p>
|
338579
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
338580
|
+
|
338581
|
+
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
338582
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 701484147]]
|
338583
|
+
Processing by DeviseTokenAuth::PasswordsController#edit as JS
|
338584
|
+
Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"}
|
338585
|
+
Unpermitted parameters: redirect_url
|
338586
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '7eaca395eb3dd83b3cfe14e031021474aad3f3401066ece0015bcfcd7b514bb6' ORDER BY "users"."id" ASC LIMIT 1
|
338587
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
338588
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147 [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.827126"]]
|
338589
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
338590
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
338591
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["confirmed_at", "2014-09-22 19:44:55.886451"], ["reset_password_token", "ts5-UiWHta7fvqL58pbz"], ["tokens", "{\"gd-vdqgfHIGQAoomZfCkMA\":{\"token\":\"$2a$10$m4Kxmbaa0JLtwEJVNSTfxOjTDU9Ja1H73qygtBTOQ6n5xhhI.Jl6q\",\"expiry\":1412624695}}"], ["updated_at", "2014-09-22 19:44:55.886835"]]
|
338592
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
338593
|
+
Redirected to http://ng-token-auth.dev#?client_id=gd-vdqgfHIGQAoomZfCkMA&config=&expiry=1412624695&reset_password=true&token=r9kBFH4Z4jEuixm64wr-lg&uid=olen.rath%40nitzsche.name
|
338594
|
+
Completed 302 Found in 981878ms (Views: 0.1ms | ActiveRecord: 1.0ms)
|
338595
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 701484147]]
|
338596
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
338597
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
338598
|
+
-------------------------------------------------------------------------------------------------------------------------
|
338599
|
+
DeviseTokenAuth::PasswordsController::Password reset::change password::password mismatch error: test_response_should_fail
|
338600
|
+
-------------------------------------------------------------------------------------------------------------------------
|
338601
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
|
338602
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
338603
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"LwfUPs4wI3z0_SBgtRX8nw\":{\"token\":\"$2a$10$O6WSUZWhvTZPsuJEy2prx.RnXT2sinLxvz68Eru2C2xJLreXU/sNm\",\"expiry\":1412625677,\"last_token\":null,\"updated_at\":\"2014-09-22T15:01:17.768-05:00\"}}"], ["updated_at", "2014-09-22 20:01:17.769360"]]
|
338604
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
338605
|
+
Processing by DeviseTokenAuth::PasswordsController#update as JS
|
338606
|
+
Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}
|
338607
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'jacquelyn@sanford.name' LIMIT 1
|
338608
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
338609
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
338610
|
+
Completed 422 Unprocessable Entity in 65ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
338611
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
338612
|
+
[1m[35m (0.0ms)[0m begin transaction
|
338613
|
+
-------------------------------------------------------------------------------------------------------------------
|
338614
|
+
DeviseTokenAuth::PasswordsController::Password reset::change password::unauthorized user: test_response_should_fail
|
338615
|
+
-------------------------------------------------------------------------------------------------------------------
|
338616
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]]
|
338617
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
338618
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"9konRdItpqPCVjPDQIAskQ\":{\"token\":\"$2a$10$kdflu3WdeXjrBHW1JW/71.bQB9SFlQoqx0cEaDIyoq0SgLmuk29lu\",\"expiry\":1412625677,\"last_token\":null,\"updated_at\":\"2014-09-22T15:01:17.901-05:00\"}}"], ["updated_at", "2014-09-22 20:01:17.902099"]]
|
338619
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
338620
|
+
Processing by DeviseTokenAuth::PasswordsController#update as JS
|
338621
|
+
Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}
|
338622
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
338623
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
338624
|
+
[1m[35m (0.0ms)[0m begin transaction
|
338625
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------------
|
338626
|
+
DeviseTokenAuth::PasswordsController::Password reset::request password reset::password reset link success: test_respones_should_have_success_redirect_status
|
338627
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------------
|
338628
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]]
|
338629
|
+
Processing by DeviseTokenAuth::PasswordsController#create as JS
|
338630
|
+
Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev"}
|
338631
|
+
Unpermitted parameters: redirect_url
|
338632
|
+
Unpermitted parameters: redirect_url
|
338633
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1
|
338634
|
+
Unpermitted parameters: redirect_url
|
338635
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'e94306ec38191e619ee5dfc8850c484a049c10f10e2ad211242c319e004c2e85' ORDER BY "users"."id" ASC LIMIT 1[0m
|
338636
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
338637
|
+
Binary data inserted for `string` type on column `reset_password_token`
|
338638
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-09-22 20:01:17.909247"], ["reset_password_token", "e94306ec38191e619ee5dfc8850c484a049c10f10e2ad211242c319e004c2e85"], ["tokens", "{}"], ["updated_at", "2014-09-22 20:01:17.909452"]]
|
338639
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
338640
|
+
|
338641
|
+
Devise::Mailer#reset_password_instructions: processed outbound mail in 1.4ms
|
338642
|
+
|
338643
|
+
Sent mail to jacquelyn@sanford.name (2.2ms)
|
338644
|
+
Date: Mon, 22 Sep 2014 15:01:17 -0500
|
338645
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
338646
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
338647
|
+
To: jacquelyn@sanford.name
|
338648
|
+
Message-ID: <5420800ddee7d_1217f3fd481065be0789c2@tests-MacBook-Pro-2.local.mail>
|
338649
|
+
Subject: Reset password instructions
|
338650
|
+
Mime-Version: 1.0
|
338651
|
+
Content-Type: text/html;
|
338652
|
+
charset=UTF-8
|
338653
|
+
Content-Transfer-Encoding: 7bit
|
338654
|
+
email: jacquelyn@sanford.name
|
338655
|
+
provider: email
|
338656
|
+
redirect-url: http://ng-token-auth.dev
|
338657
|
+
client-config: default
|
338658
|
+
|
338659
|
+
<p>Hello jacquelyn@sanford.name!</p>
|
338660
|
+
|
338661
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
338662
|
+
|
338663
|
+
<p><a href="http://localhost/auth/password/edit?config=default&redirect_url=http%3A%2F%2Fng-token-auth.dev&reset_password_token=nf9Ux1fFsnbdxVi-qdWz">Change my password</a></p>
|
338664
|
+
|
338665
|
+
<p>If you didn't request this, please ignore this email.</p>
|
338666
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
338667
|
+
|
338668
|
+
Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
338669
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]]
|
338670
|
+
Processing by DeviseTokenAuth::PasswordsController#edit as JS
|
338671
|
+
Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"}
|
338672
|
+
Unpermitted parameters: redirect_url
|
338673
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'e94306ec38191e619ee5dfc8850c484a049c10f10e2ad211242c319e004c2e85' ORDER BY "users"."id" ASC LIMIT 1
|
338674
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
338675
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-09-22 20:01:17.916918"]]
|
338676
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
338677
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
338678
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_token", "nf9Ux1fFsnbdxVi-qdWz"], ["tokens", "{\"yZx1wxI99gAi3p1jkM5Duw\":{\"token\":\"$2a$10$j2IKKUd/ERNU7fuCIe06hOTvM0Fwo1kLGgqhT1Ex2ggZ34U9qNY1.\",\"expiry\":1412625677}}"], ["updated_at", "2014-09-22 20:01:17.976491"]]
|
338679
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
338680
|
+
Completed 500 Internal Server Error in 7450929ms
|