devise_token_auth 0.1.28.beta2 → 0.1.28.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/devise_token_auth/concerns/user.rb +2 -2
- 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/log/development.log +263 -0
- data/test/dummy/log/test.log +2998 -0
- data/test/dummy/tmp/generators/app/controllers/application_controller.rb +8 -0
- data/test/dummy/tmp/generators/db/migrate/{20140910183517_devise_token_auth_create_users.rb → 20140910190013_devise_token_auth_create_users.rb} +0 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 716af4b2d7dfda1ebe3c73e338173e2d132713de
|
4
|
+
data.tar.gz: 998806c9b51e03689f723565376f6923c7f4124c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0082894712d6b4a65b5af52d591e8a9099c433439ba948d873db42b619680737b8a6aa151e3c644ea4759b96329b5ab7767fe2f59dbc8aff3f61adfffe6b0c5
|
7
|
+
data.tar.gz: 5863c60f38b601a151b897513327701fec68064b54f7713b312b6b74a64366f8ad87dd17063f2e566d42445f3e696ef09c48eb9cb2f6d9f08d38fa28b6350cae
|
@@ -143,8 +143,8 @@ module DeviseTokenAuth::Concerns::User
|
|
143
143
|
|
144
144
|
res = "#{uri.scheme}://#{uri.host}"
|
145
145
|
res += ":#{uri.port}" if (uri.port and uri.port != 80 and uri.port != 443)
|
146
|
-
res += "#{uri.path}" if uri.path
|
147
|
-
res += "
|
146
|
+
res += "#{uri.path}#" if uri.path
|
147
|
+
res += "#{uri.fragment}" if uri.fragment
|
148
148
|
res += "?#{params.to_query}"
|
149
149
|
|
150
150
|
return res
|
Binary file
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -8221,3 +8221,266 @@ Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML
|
|
8221
8221
|
[1m[35m (1.6ms)[0m commit transaction
|
8222
8222
|
Rendered /Users/lynn/Code/Auth/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (0.3ms)
|
8223
8223
|
Completed 200 OK in 68ms (Views: 2.2ms | ActiveRecord: 2.2ms)
|
8224
|
+
|
8225
|
+
|
8226
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-09-10 15:23:38 -0500
|
8227
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8228
|
+
Processing by DeviseTokenAuth::AuthController#validate_token as HTML
|
8229
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
8230
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8231
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 11 [["tokens", "{\"po1ANt3MP9POwgh23qP9mg\":{\"token\":\"$2a$10$gWlYoa2J9p/g4BCzlfPE8.KydyAyY2wcSUJjbCXdufcuIqdCFhOM.\",\"expiry\":1410891836,\"last_token\":\"$2a$10$2wVlqHbRtMcu2hofdgIUru8.dA/hpIxRoYRiHhFiMglrQE8Jj29n2\",\"updated_at\":\"2014-09-02 13:24:00 -0500\"},\"_pfY7PEqJcmK6QkU5RoDww\":{\"token\":\"$2a$10$xntUQ8AvUMeUdb4u06k4DOuld3P2jwPojotmOkFfp4zvtq880D/6.\",\"expiry\":1410898456,\"last_token\":\"$2a$10$b7oTWXiCRtSS1zhvfiqVVuA4tcCHY9eC5M4gyCCRy/Kn0GFL8XdO2\",\"updated_at\":\"2014-09-02 15:14:16 -0500\"},\"rDmfdo4QlreRXTgn8HwvpA\":{\"token\":\"$2a$10$VuWr32TfL2Np5ZALux5/4e/bXYH8STvgS3DEnSzA5OdB4afIEPe32\",\"expiry\":1411578261,\"last_token\":\"$2a$10$5Z99/awyT6fETyl3Fco./OrdSLg/xWdLy1Hr81TYB3lrEECeFWx8a\",\"updated_at\":\"2014-09-10 12:04:21 -0500\"},\"DiKSIe91dQgcL0KiuxPJ5Q\":{\"token\":\"$2a$10$RGRo3nTzBgR1M2ZunOvil.VLEM3FsoOnkXLPU71spqyvoQNwvOo5y\",\"expiry\":1411579349,\"last_token\":\"$2a$10$qGtDCNpyUzrsEo16gzyiBOMfhhzVThHm5ds3nU46SOvnWZ.7TcncK\",\"updated_at\":\"2014-09-10 12:22:29 -0500\"},\"k6Wel-WCvKcew1lwV2Spaw\":{\"token\":\"$2a$10$ZA9wzG7e92pzhyK7e9yIre75CkP7oyY0zhM3U2N.OpO/5lIPb20By\",\"expiry\":1411583221},\"QcGZ-z5yVs_uJ0OpTqoDfQ\":{\"token\":\"$2a$10$ejiOTOCCzrdqxmjdbD2zt.lo5ahnbIJ89TV5J/9M5dUKpwvs./1py\",\"expiry\":1411583257},\"CiOUt2xgx5cDIUobawIC2w\":{\"token\":\"$2a$10$SAhIhuTUdTSO35pCtc4sku.5yj5aKOSyWJqQ5NoMSgtELwtpRoara\",\"expiry\":1411583401},\"_oIKno-GuuW9atBYVPWqzg\":{\"token\":\"$2a$10$SLFngtHG7zADnZhBCAbEbOftcmUOB2bBM3B7jfcXs8U71JIvyzB6a\",\"expiry\":1411583770},\"9As97wuqh6guk7_tNOWBHw\":{\"token\":\"$2a$10$yIa0AxSXpkSaI9VNW3Jiy.qyeEA36JEbnpScNqIgX2bQ8T7ZgGWJy\",\"expiry\":1411583923},\"FML9lvFxKRMciSDPd0K2Tw\":{\"token\":\"$2a$10$c7QM59eIGib369pUVkG8DOg8WuwDTraFt6kdkuxx5.M8wvLC6xYA2\",\"expiry\":1411584099},\"G0D4xlwtrGDHw_6c5X49DA\":{\"token\":\"$2a$10$MnBBCcEY2sVJCpwM3svN9OO8nelhu4S3vR1Uum3NbcM0Sx7rQ.bNW\",\"expiry\":1411584253},\"Tr-yB0kT7KcrVd2rgxS7LA\":{\"token\":\"$2a$10$8HJcMV8HYVNXAh3MVBBp4.39d0iXGqJvPFLaXpFYtHAcseQqW.s6q\",\"expiry\":1411584504},\"GED5C54aUY6aEaz6YzoIUg\":{\"token\":\"$2a$10$WmSg1sQdETw5pPg5oQ8SV.Js9VpJg1Dl4K90yLGAZeZLNH83WTXzm\",\"expiry\":1411584516},\"r0kV0j17Hn_WJ0FCCydpEQ\":{\"token\":\"$2a$10$bWDVmdGI1F8B.N2GfTT2AOvCk38T0q8xTlMU6c7bRJbOHB2yOJFh6\",\"expiry\":1411584618},\"P2XUJec-oneiDTaeVkHmGw\":{\"token\":\"$2a$10$JXank187McWEOg0f8GJUZewg7BG6Lo1h0VEgkGKIRTdJqamEjCPcu\",\"expiry\":1411584652},\"XonTibaJZBcjOOzaX_Zydg\":{\"token\":\"$2a$10$QvCgMgIhPKP.CI3fXsP7g.jkM7cbGTGyeAo4naklGNmWV35QdZL5y\",\"expiry\":1411590218,\"last_token\":\"$2a$10$DfG9cyy3eiO6hzEb9ABtLegL9sPyDffks5dkEblxW2Ep6kupLezti\",\"updated_at\":\"2014-09-10 15:23:38 -0500\"}}"], ["updated_at", "2014-09-10 20:23:38.816450"]]
|
8232
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
8233
|
+
Completed 200 OK in 159ms (Views: 0.3ms | ActiveRecord: 1.5ms)
|
8234
|
+
|
8235
|
+
|
8236
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-09-10 15:23:45 -0500
|
8237
|
+
Processing by DeviseTokenAuth::AuthController#validate_token as HTML
|
8238
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
8239
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8240
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 11 [["tokens", "{\"po1ANt3MP9POwgh23qP9mg\":{\"token\":\"$2a$10$gWlYoa2J9p/g4BCzlfPE8.KydyAyY2wcSUJjbCXdufcuIqdCFhOM.\",\"expiry\":1410891836,\"last_token\":\"$2a$10$2wVlqHbRtMcu2hofdgIUru8.dA/hpIxRoYRiHhFiMglrQE8Jj29n2\",\"updated_at\":\"2014-09-02 13:24:00 -0500\"},\"_pfY7PEqJcmK6QkU5RoDww\":{\"token\":\"$2a$10$xntUQ8AvUMeUdb4u06k4DOuld3P2jwPojotmOkFfp4zvtq880D/6.\",\"expiry\":1410898456,\"last_token\":\"$2a$10$b7oTWXiCRtSS1zhvfiqVVuA4tcCHY9eC5M4gyCCRy/Kn0GFL8XdO2\",\"updated_at\":\"2014-09-02 15:14:16 -0500\"},\"rDmfdo4QlreRXTgn8HwvpA\":{\"token\":\"$2a$10$VuWr32TfL2Np5ZALux5/4e/bXYH8STvgS3DEnSzA5OdB4afIEPe32\",\"expiry\":1411578261,\"last_token\":\"$2a$10$5Z99/awyT6fETyl3Fco./OrdSLg/xWdLy1Hr81TYB3lrEECeFWx8a\",\"updated_at\":\"2014-09-10 12:04:21 -0500\"},\"DiKSIe91dQgcL0KiuxPJ5Q\":{\"token\":\"$2a$10$RGRo3nTzBgR1M2ZunOvil.VLEM3FsoOnkXLPU71spqyvoQNwvOo5y\",\"expiry\":1411579349,\"last_token\":\"$2a$10$qGtDCNpyUzrsEo16gzyiBOMfhhzVThHm5ds3nU46SOvnWZ.7TcncK\",\"updated_at\":\"2014-09-10 12:22:29 -0500\"},\"k6Wel-WCvKcew1lwV2Spaw\":{\"token\":\"$2a$10$ZA9wzG7e92pzhyK7e9yIre75CkP7oyY0zhM3U2N.OpO/5lIPb20By\",\"expiry\":1411583221},\"QcGZ-z5yVs_uJ0OpTqoDfQ\":{\"token\":\"$2a$10$ejiOTOCCzrdqxmjdbD2zt.lo5ahnbIJ89TV5J/9M5dUKpwvs./1py\",\"expiry\":1411583257},\"CiOUt2xgx5cDIUobawIC2w\":{\"token\":\"$2a$10$SAhIhuTUdTSO35pCtc4sku.5yj5aKOSyWJqQ5NoMSgtELwtpRoara\",\"expiry\":1411583401},\"_oIKno-GuuW9atBYVPWqzg\":{\"token\":\"$2a$10$SLFngtHG7zADnZhBCAbEbOftcmUOB2bBM3B7jfcXs8U71JIvyzB6a\",\"expiry\":1411583770},\"9As97wuqh6guk7_tNOWBHw\":{\"token\":\"$2a$10$yIa0AxSXpkSaI9VNW3Jiy.qyeEA36JEbnpScNqIgX2bQ8T7ZgGWJy\",\"expiry\":1411583923},\"FML9lvFxKRMciSDPd0K2Tw\":{\"token\":\"$2a$10$c7QM59eIGib369pUVkG8DOg8WuwDTraFt6kdkuxx5.M8wvLC6xYA2\",\"expiry\":1411584099},\"G0D4xlwtrGDHw_6c5X49DA\":{\"token\":\"$2a$10$MnBBCcEY2sVJCpwM3svN9OO8nelhu4S3vR1Uum3NbcM0Sx7rQ.bNW\",\"expiry\":1411584253},\"Tr-yB0kT7KcrVd2rgxS7LA\":{\"token\":\"$2a$10$8HJcMV8HYVNXAh3MVBBp4.39d0iXGqJvPFLaXpFYtHAcseQqW.s6q\",\"expiry\":1411584504},\"GED5C54aUY6aEaz6YzoIUg\":{\"token\":\"$2a$10$WmSg1sQdETw5pPg5oQ8SV.Js9VpJg1Dl4K90yLGAZeZLNH83WTXzm\",\"expiry\":1411584516},\"r0kV0j17Hn_WJ0FCCydpEQ\":{\"token\":\"$2a$10$bWDVmdGI1F8B.N2GfTT2AOvCk38T0q8xTlMU6c7bRJbOHB2yOJFh6\",\"expiry\":1411584618},\"P2XUJec-oneiDTaeVkHmGw\":{\"token\":\"$2a$10$JXank187McWEOg0f8GJUZewg7BG6Lo1h0VEgkGKIRTdJqamEjCPcu\",\"expiry\":1411584652},\"XonTibaJZBcjOOzaX_Zydg\":{\"token\":\"$2a$10$EPZntZCXDGfep0X43UmgB.iW8SlJsAv4Wto39Z4w.oiPwrxGTvVCC\",\"expiry\":1411590225,\"last_token\":\"$2a$10$QvCgMgIhPKP.CI3fXsP7g.jkM7cbGTGyeAo4naklGNmWV35QdZL5y\",\"updated_at\":\"2014-09-10 15:23:45 -0500\"}}"], ["updated_at", "2014-09-10 20:23:45.345945"]]
|
8241
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
8242
|
+
Completed 200 OK in 129ms (Views: 0.2ms | ActiveRecord: 1.4ms)
|
8243
|
+
|
8244
|
+
|
8245
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-09-10 15:24:15 -0500
|
8246
|
+
Processing by DeviseTokenAuth::AuthController#validate_token as HTML
|
8247
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
8248
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8249
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 11 [["tokens", "{\"po1ANt3MP9POwgh23qP9mg\":{\"token\":\"$2a$10$gWlYoa2J9p/g4BCzlfPE8.KydyAyY2wcSUJjbCXdufcuIqdCFhOM.\",\"expiry\":1410891836,\"last_token\":\"$2a$10$2wVlqHbRtMcu2hofdgIUru8.dA/hpIxRoYRiHhFiMglrQE8Jj29n2\",\"updated_at\":\"2014-09-02 13:24:00 -0500\"},\"_pfY7PEqJcmK6QkU5RoDww\":{\"token\":\"$2a$10$xntUQ8AvUMeUdb4u06k4DOuld3P2jwPojotmOkFfp4zvtq880D/6.\",\"expiry\":1410898456,\"last_token\":\"$2a$10$b7oTWXiCRtSS1zhvfiqVVuA4tcCHY9eC5M4gyCCRy/Kn0GFL8XdO2\",\"updated_at\":\"2014-09-02 15:14:16 -0500\"},\"rDmfdo4QlreRXTgn8HwvpA\":{\"token\":\"$2a$10$VuWr32TfL2Np5ZALux5/4e/bXYH8STvgS3DEnSzA5OdB4afIEPe32\",\"expiry\":1411578261,\"last_token\":\"$2a$10$5Z99/awyT6fETyl3Fco./OrdSLg/xWdLy1Hr81TYB3lrEECeFWx8a\",\"updated_at\":\"2014-09-10 12:04:21 -0500\"},\"DiKSIe91dQgcL0KiuxPJ5Q\":{\"token\":\"$2a$10$RGRo3nTzBgR1M2ZunOvil.VLEM3FsoOnkXLPU71spqyvoQNwvOo5y\",\"expiry\":1411579349,\"last_token\":\"$2a$10$qGtDCNpyUzrsEo16gzyiBOMfhhzVThHm5ds3nU46SOvnWZ.7TcncK\",\"updated_at\":\"2014-09-10 12:22:29 -0500\"},\"k6Wel-WCvKcew1lwV2Spaw\":{\"token\":\"$2a$10$ZA9wzG7e92pzhyK7e9yIre75CkP7oyY0zhM3U2N.OpO/5lIPb20By\",\"expiry\":1411583221},\"QcGZ-z5yVs_uJ0OpTqoDfQ\":{\"token\":\"$2a$10$ejiOTOCCzrdqxmjdbD2zt.lo5ahnbIJ89TV5J/9M5dUKpwvs./1py\",\"expiry\":1411583257},\"CiOUt2xgx5cDIUobawIC2w\":{\"token\":\"$2a$10$SAhIhuTUdTSO35pCtc4sku.5yj5aKOSyWJqQ5NoMSgtELwtpRoara\",\"expiry\":1411583401},\"_oIKno-GuuW9atBYVPWqzg\":{\"token\":\"$2a$10$SLFngtHG7zADnZhBCAbEbOftcmUOB2bBM3B7jfcXs8U71JIvyzB6a\",\"expiry\":1411583770},\"9As97wuqh6guk7_tNOWBHw\":{\"token\":\"$2a$10$yIa0AxSXpkSaI9VNW3Jiy.qyeEA36JEbnpScNqIgX2bQ8T7ZgGWJy\",\"expiry\":1411583923},\"FML9lvFxKRMciSDPd0K2Tw\":{\"token\":\"$2a$10$c7QM59eIGib369pUVkG8DOg8WuwDTraFt6kdkuxx5.M8wvLC6xYA2\",\"expiry\":1411584099},\"G0D4xlwtrGDHw_6c5X49DA\":{\"token\":\"$2a$10$MnBBCcEY2sVJCpwM3svN9OO8nelhu4S3vR1Uum3NbcM0Sx7rQ.bNW\",\"expiry\":1411584253},\"Tr-yB0kT7KcrVd2rgxS7LA\":{\"token\":\"$2a$10$8HJcMV8HYVNXAh3MVBBp4.39d0iXGqJvPFLaXpFYtHAcseQqW.s6q\",\"expiry\":1411584504},\"GED5C54aUY6aEaz6YzoIUg\":{\"token\":\"$2a$10$WmSg1sQdETw5pPg5oQ8SV.Js9VpJg1Dl4K90yLGAZeZLNH83WTXzm\",\"expiry\":1411584516},\"r0kV0j17Hn_WJ0FCCydpEQ\":{\"token\":\"$2a$10$bWDVmdGI1F8B.N2GfTT2AOvCk38T0q8xTlMU6c7bRJbOHB2yOJFh6\",\"expiry\":1411584618},\"P2XUJec-oneiDTaeVkHmGw\":{\"token\":\"$2a$10$JXank187McWEOg0f8GJUZewg7BG6Lo1h0VEgkGKIRTdJqamEjCPcu\",\"expiry\":1411584652},\"XonTibaJZBcjOOzaX_Zydg\":{\"token\":\"$2a$10$Z4CsXzI5d.52io65vKcPj.Um10t/0f9WinHIHEgFbLovByD31dEGW\",\"expiry\":1411590255,\"last_token\":\"$2a$10$EPZntZCXDGfep0X43UmgB.iW8SlJsAv4Wto39Z4w.oiPwrxGTvVCC\",\"updated_at\":\"2014-09-10 15:24:15 -0500\"}}"], ["updated_at", "2014-09-10 20:24:15.426498"]]
|
8250
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
8251
|
+
Completed 200 OK in 127ms (Views: 0.2ms | ActiveRecord: 2.1ms)
|
8252
|
+
|
8253
|
+
|
8254
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-09-10 15:24:35 -0500
|
8255
|
+
Processing by DeviseTokenAuth::AuthController#validate_token as HTML
|
8256
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
8257
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8258
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 11 [["tokens", "{\"po1ANt3MP9POwgh23qP9mg\":{\"token\":\"$2a$10$gWlYoa2J9p/g4BCzlfPE8.KydyAyY2wcSUJjbCXdufcuIqdCFhOM.\",\"expiry\":1410891836,\"last_token\":\"$2a$10$2wVlqHbRtMcu2hofdgIUru8.dA/hpIxRoYRiHhFiMglrQE8Jj29n2\",\"updated_at\":\"2014-09-02 13:24:00 -0500\"},\"_pfY7PEqJcmK6QkU5RoDww\":{\"token\":\"$2a$10$xntUQ8AvUMeUdb4u06k4DOuld3P2jwPojotmOkFfp4zvtq880D/6.\",\"expiry\":1410898456,\"last_token\":\"$2a$10$b7oTWXiCRtSS1zhvfiqVVuA4tcCHY9eC5M4gyCCRy/Kn0GFL8XdO2\",\"updated_at\":\"2014-09-02 15:14:16 -0500\"},\"rDmfdo4QlreRXTgn8HwvpA\":{\"token\":\"$2a$10$VuWr32TfL2Np5ZALux5/4e/bXYH8STvgS3DEnSzA5OdB4afIEPe32\",\"expiry\":1411578261,\"last_token\":\"$2a$10$5Z99/awyT6fETyl3Fco./OrdSLg/xWdLy1Hr81TYB3lrEECeFWx8a\",\"updated_at\":\"2014-09-10 12:04:21 -0500\"},\"DiKSIe91dQgcL0KiuxPJ5Q\":{\"token\":\"$2a$10$RGRo3nTzBgR1M2ZunOvil.VLEM3FsoOnkXLPU71spqyvoQNwvOo5y\",\"expiry\":1411579349,\"last_token\":\"$2a$10$qGtDCNpyUzrsEo16gzyiBOMfhhzVThHm5ds3nU46SOvnWZ.7TcncK\",\"updated_at\":\"2014-09-10 12:22:29 -0500\"},\"k6Wel-WCvKcew1lwV2Spaw\":{\"token\":\"$2a$10$ZA9wzG7e92pzhyK7e9yIre75CkP7oyY0zhM3U2N.OpO/5lIPb20By\",\"expiry\":1411583221},\"QcGZ-z5yVs_uJ0OpTqoDfQ\":{\"token\":\"$2a$10$ejiOTOCCzrdqxmjdbD2zt.lo5ahnbIJ89TV5J/9M5dUKpwvs./1py\",\"expiry\":1411583257},\"CiOUt2xgx5cDIUobawIC2w\":{\"token\":\"$2a$10$SAhIhuTUdTSO35pCtc4sku.5yj5aKOSyWJqQ5NoMSgtELwtpRoara\",\"expiry\":1411583401},\"_oIKno-GuuW9atBYVPWqzg\":{\"token\":\"$2a$10$SLFngtHG7zADnZhBCAbEbOftcmUOB2bBM3B7jfcXs8U71JIvyzB6a\",\"expiry\":1411583770},\"9As97wuqh6guk7_tNOWBHw\":{\"token\":\"$2a$10$yIa0AxSXpkSaI9VNW3Jiy.qyeEA36JEbnpScNqIgX2bQ8T7ZgGWJy\",\"expiry\":1411583923},\"FML9lvFxKRMciSDPd0K2Tw\":{\"token\":\"$2a$10$c7QM59eIGib369pUVkG8DOg8WuwDTraFt6kdkuxx5.M8wvLC6xYA2\",\"expiry\":1411584099},\"G0D4xlwtrGDHw_6c5X49DA\":{\"token\":\"$2a$10$MnBBCcEY2sVJCpwM3svN9OO8nelhu4S3vR1Uum3NbcM0Sx7rQ.bNW\",\"expiry\":1411584253},\"Tr-yB0kT7KcrVd2rgxS7LA\":{\"token\":\"$2a$10$8HJcMV8HYVNXAh3MVBBp4.39d0iXGqJvPFLaXpFYtHAcseQqW.s6q\",\"expiry\":1411584504},\"GED5C54aUY6aEaz6YzoIUg\":{\"token\":\"$2a$10$WmSg1sQdETw5pPg5oQ8SV.Js9VpJg1Dl4K90yLGAZeZLNH83WTXzm\",\"expiry\":1411584516},\"r0kV0j17Hn_WJ0FCCydpEQ\":{\"token\":\"$2a$10$bWDVmdGI1F8B.N2GfTT2AOvCk38T0q8xTlMU6c7bRJbOHB2yOJFh6\",\"expiry\":1411584618},\"P2XUJec-oneiDTaeVkHmGw\":{\"token\":\"$2a$10$JXank187McWEOg0f8GJUZewg7BG6Lo1h0VEgkGKIRTdJqamEjCPcu\",\"expiry\":1411584652},\"XonTibaJZBcjOOzaX_Zydg\":{\"token\":\"$2a$10$SwvEUkcJRkI7wGgAkZL8Fes671xF176IvurC2CG2PYjjB58OU7aPW\",\"expiry\":1411590276,\"last_token\":\"$2a$10$Z4CsXzI5d.52io65vKcPj.Um10t/0f9WinHIHEgFbLovByD31dEGW\",\"updated_at\":\"2014-09-10 15:24:36 -0500\"}}"], ["updated_at", "2014-09-10 20:24:36.023438"]]
|
8259
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
8260
|
+
Completed 200 OK in 128ms (Views: 0.4ms | ActiveRecord: 1.1ms)
|
8261
|
+
|
8262
|
+
|
8263
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-09-10 15:24:57 -0500
|
8264
|
+
Processing by DeviseTokenAuth::AuthController#validate_token as HTML
|
8265
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
8266
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8267
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 11 [["tokens", "{\"po1ANt3MP9POwgh23qP9mg\":{\"token\":\"$2a$10$gWlYoa2J9p/g4BCzlfPE8.KydyAyY2wcSUJjbCXdufcuIqdCFhOM.\",\"expiry\":1410891836,\"last_token\":\"$2a$10$2wVlqHbRtMcu2hofdgIUru8.dA/hpIxRoYRiHhFiMglrQE8Jj29n2\",\"updated_at\":\"2014-09-02 13:24:00 -0500\"},\"_pfY7PEqJcmK6QkU5RoDww\":{\"token\":\"$2a$10$xntUQ8AvUMeUdb4u06k4DOuld3P2jwPojotmOkFfp4zvtq880D/6.\",\"expiry\":1410898456,\"last_token\":\"$2a$10$b7oTWXiCRtSS1zhvfiqVVuA4tcCHY9eC5M4gyCCRy/Kn0GFL8XdO2\",\"updated_at\":\"2014-09-02 15:14:16 -0500\"},\"rDmfdo4QlreRXTgn8HwvpA\":{\"token\":\"$2a$10$VuWr32TfL2Np5ZALux5/4e/bXYH8STvgS3DEnSzA5OdB4afIEPe32\",\"expiry\":1411578261,\"last_token\":\"$2a$10$5Z99/awyT6fETyl3Fco./OrdSLg/xWdLy1Hr81TYB3lrEECeFWx8a\",\"updated_at\":\"2014-09-10 12:04:21 -0500\"},\"DiKSIe91dQgcL0KiuxPJ5Q\":{\"token\":\"$2a$10$RGRo3nTzBgR1M2ZunOvil.VLEM3FsoOnkXLPU71spqyvoQNwvOo5y\",\"expiry\":1411579349,\"last_token\":\"$2a$10$qGtDCNpyUzrsEo16gzyiBOMfhhzVThHm5ds3nU46SOvnWZ.7TcncK\",\"updated_at\":\"2014-09-10 12:22:29 -0500\"},\"k6Wel-WCvKcew1lwV2Spaw\":{\"token\":\"$2a$10$ZA9wzG7e92pzhyK7e9yIre75CkP7oyY0zhM3U2N.OpO/5lIPb20By\",\"expiry\":1411583221},\"QcGZ-z5yVs_uJ0OpTqoDfQ\":{\"token\":\"$2a$10$ejiOTOCCzrdqxmjdbD2zt.lo5ahnbIJ89TV5J/9M5dUKpwvs./1py\",\"expiry\":1411583257},\"CiOUt2xgx5cDIUobawIC2w\":{\"token\":\"$2a$10$SAhIhuTUdTSO35pCtc4sku.5yj5aKOSyWJqQ5NoMSgtELwtpRoara\",\"expiry\":1411583401},\"_oIKno-GuuW9atBYVPWqzg\":{\"token\":\"$2a$10$SLFngtHG7zADnZhBCAbEbOftcmUOB2bBM3B7jfcXs8U71JIvyzB6a\",\"expiry\":1411583770},\"9As97wuqh6guk7_tNOWBHw\":{\"token\":\"$2a$10$yIa0AxSXpkSaI9VNW3Jiy.qyeEA36JEbnpScNqIgX2bQ8T7ZgGWJy\",\"expiry\":1411583923},\"FML9lvFxKRMciSDPd0K2Tw\":{\"token\":\"$2a$10$c7QM59eIGib369pUVkG8DOg8WuwDTraFt6kdkuxx5.M8wvLC6xYA2\",\"expiry\":1411584099},\"G0D4xlwtrGDHw_6c5X49DA\":{\"token\":\"$2a$10$MnBBCcEY2sVJCpwM3svN9OO8nelhu4S3vR1Uum3NbcM0Sx7rQ.bNW\",\"expiry\":1411584253},\"Tr-yB0kT7KcrVd2rgxS7LA\":{\"token\":\"$2a$10$8HJcMV8HYVNXAh3MVBBp4.39d0iXGqJvPFLaXpFYtHAcseQqW.s6q\",\"expiry\":1411584504},\"GED5C54aUY6aEaz6YzoIUg\":{\"token\":\"$2a$10$WmSg1sQdETw5pPg5oQ8SV.Js9VpJg1Dl4K90yLGAZeZLNH83WTXzm\",\"expiry\":1411584516},\"r0kV0j17Hn_WJ0FCCydpEQ\":{\"token\":\"$2a$10$bWDVmdGI1F8B.N2GfTT2AOvCk38T0q8xTlMU6c7bRJbOHB2yOJFh6\",\"expiry\":1411584618},\"P2XUJec-oneiDTaeVkHmGw\":{\"token\":\"$2a$10$JXank187McWEOg0f8GJUZewg7BG6Lo1h0VEgkGKIRTdJqamEjCPcu\",\"expiry\":1411584652},\"XonTibaJZBcjOOzaX_Zydg\":{\"token\":\"$2a$10$HWzFH8TsoVHF9HEerX7NSuHOnzqgNeyAna4NJ0gYoRsAU8Tub6TT6\",\"expiry\":1411590297,\"last_token\":\"$2a$10$SwvEUkcJRkI7wGgAkZL8Fes671xF176IvurC2CG2PYjjB58OU7aPW\",\"updated_at\":\"2014-09-10 15:24:57 -0500\"}}"], ["updated_at", "2014-09-10 20:24:57.198043"]]
|
8268
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
8269
|
+
Completed 200 OK in 129ms (Views: 0.2ms | ActiveRecord: 2.5ms)
|
8270
|
+
|
8271
|
+
|
8272
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-09-10 15:25:01 -0500
|
8273
|
+
Processing by DeviseTokenAuth::AuthController#validate_token as HTML
|
8274
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
8275
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8276
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 11 [["tokens", "{\"po1ANt3MP9POwgh23qP9mg\":{\"token\":\"$2a$10$gWlYoa2J9p/g4BCzlfPE8.KydyAyY2wcSUJjbCXdufcuIqdCFhOM.\",\"expiry\":1410891836,\"last_token\":\"$2a$10$2wVlqHbRtMcu2hofdgIUru8.dA/hpIxRoYRiHhFiMglrQE8Jj29n2\",\"updated_at\":\"2014-09-02 13:24:00 -0500\"},\"_pfY7PEqJcmK6QkU5RoDww\":{\"token\":\"$2a$10$xntUQ8AvUMeUdb4u06k4DOuld3P2jwPojotmOkFfp4zvtq880D/6.\",\"expiry\":1410898456,\"last_token\":\"$2a$10$b7oTWXiCRtSS1zhvfiqVVuA4tcCHY9eC5M4gyCCRy/Kn0GFL8XdO2\",\"updated_at\":\"2014-09-02 15:14:16 -0500\"},\"rDmfdo4QlreRXTgn8HwvpA\":{\"token\":\"$2a$10$VuWr32TfL2Np5ZALux5/4e/bXYH8STvgS3DEnSzA5OdB4afIEPe32\",\"expiry\":1411578261,\"last_token\":\"$2a$10$5Z99/awyT6fETyl3Fco./OrdSLg/xWdLy1Hr81TYB3lrEECeFWx8a\",\"updated_at\":\"2014-09-10 12:04:21 -0500\"},\"DiKSIe91dQgcL0KiuxPJ5Q\":{\"token\":\"$2a$10$RGRo3nTzBgR1M2ZunOvil.VLEM3FsoOnkXLPU71spqyvoQNwvOo5y\",\"expiry\":1411579349,\"last_token\":\"$2a$10$qGtDCNpyUzrsEo16gzyiBOMfhhzVThHm5ds3nU46SOvnWZ.7TcncK\",\"updated_at\":\"2014-09-10 12:22:29 -0500\"},\"k6Wel-WCvKcew1lwV2Spaw\":{\"token\":\"$2a$10$ZA9wzG7e92pzhyK7e9yIre75CkP7oyY0zhM3U2N.OpO/5lIPb20By\",\"expiry\":1411583221},\"QcGZ-z5yVs_uJ0OpTqoDfQ\":{\"token\":\"$2a$10$ejiOTOCCzrdqxmjdbD2zt.lo5ahnbIJ89TV5J/9M5dUKpwvs./1py\",\"expiry\":1411583257},\"CiOUt2xgx5cDIUobawIC2w\":{\"token\":\"$2a$10$SAhIhuTUdTSO35pCtc4sku.5yj5aKOSyWJqQ5NoMSgtELwtpRoara\",\"expiry\":1411583401},\"_oIKno-GuuW9atBYVPWqzg\":{\"token\":\"$2a$10$SLFngtHG7zADnZhBCAbEbOftcmUOB2bBM3B7jfcXs8U71JIvyzB6a\",\"expiry\":1411583770},\"9As97wuqh6guk7_tNOWBHw\":{\"token\":\"$2a$10$yIa0AxSXpkSaI9VNW3Jiy.qyeEA36JEbnpScNqIgX2bQ8T7ZgGWJy\",\"expiry\":1411583923},\"FML9lvFxKRMciSDPd0K2Tw\":{\"token\":\"$2a$10$c7QM59eIGib369pUVkG8DOg8WuwDTraFt6kdkuxx5.M8wvLC6xYA2\",\"expiry\":1411584099},\"G0D4xlwtrGDHw_6c5X49DA\":{\"token\":\"$2a$10$MnBBCcEY2sVJCpwM3svN9OO8nelhu4S3vR1Uum3NbcM0Sx7rQ.bNW\",\"expiry\":1411584253},\"Tr-yB0kT7KcrVd2rgxS7LA\":{\"token\":\"$2a$10$8HJcMV8HYVNXAh3MVBBp4.39d0iXGqJvPFLaXpFYtHAcseQqW.s6q\",\"expiry\":1411584504},\"GED5C54aUY6aEaz6YzoIUg\":{\"token\":\"$2a$10$WmSg1sQdETw5pPg5oQ8SV.Js9VpJg1Dl4K90yLGAZeZLNH83WTXzm\",\"expiry\":1411584516},\"r0kV0j17Hn_WJ0FCCydpEQ\":{\"token\":\"$2a$10$bWDVmdGI1F8B.N2GfTT2AOvCk38T0q8xTlMU6c7bRJbOHB2yOJFh6\",\"expiry\":1411584618},\"P2XUJec-oneiDTaeVkHmGw\":{\"token\":\"$2a$10$JXank187McWEOg0f8GJUZewg7BG6Lo1h0VEgkGKIRTdJqamEjCPcu\",\"expiry\":1411584652},\"XonTibaJZBcjOOzaX_Zydg\":{\"token\":\"$2a$10$HWzFH8TsoVHF9HEerX7NSuHOnzqgNeyAna4NJ0gYoRsAU8Tub6TT6\",\"expiry\":1411590297,\"last_token\":\"$2a$10$SwvEUkcJRkI7wGgAkZL8Fes671xF176IvurC2CG2PYjjB58OU7aPW\",\"updated_at\":\"2014-09-10 15:25:01 -0500\"}}"], ["updated_at", "2014-09-10 20:25:01.802343"]]
|
8277
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
8278
|
+
Completed 200 OK in 67ms (Views: 0.2ms | ActiveRecord: 2.2ms)
|
8279
|
+
|
8280
|
+
|
8281
|
+
Started DELETE "/auth/sign_out" for 127.0.0.1 at 2014-09-10 15:25:12 -0500
|
8282
|
+
Processing by DeviseTokenAuth::SessionsController#destroy as HTML
|
8283
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
8284
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8285
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 11 [["tokens", "{\"po1ANt3MP9POwgh23qP9mg\":{\"token\":\"$2a$10$gWlYoa2J9p/g4BCzlfPE8.KydyAyY2wcSUJjbCXdufcuIqdCFhOM.\",\"expiry\":1410891836,\"last_token\":\"$2a$10$2wVlqHbRtMcu2hofdgIUru8.dA/hpIxRoYRiHhFiMglrQE8Jj29n2\",\"updated_at\":\"2014-09-02 13:24:00 -0500\"},\"_pfY7PEqJcmK6QkU5RoDww\":{\"token\":\"$2a$10$xntUQ8AvUMeUdb4u06k4DOuld3P2jwPojotmOkFfp4zvtq880D/6.\",\"expiry\":1410898456,\"last_token\":\"$2a$10$b7oTWXiCRtSS1zhvfiqVVuA4tcCHY9eC5M4gyCCRy/Kn0GFL8XdO2\",\"updated_at\":\"2014-09-02 15:14:16 -0500\"},\"rDmfdo4QlreRXTgn8HwvpA\":{\"token\":\"$2a$10$VuWr32TfL2Np5ZALux5/4e/bXYH8STvgS3DEnSzA5OdB4afIEPe32\",\"expiry\":1411578261,\"last_token\":\"$2a$10$5Z99/awyT6fETyl3Fco./OrdSLg/xWdLy1Hr81TYB3lrEECeFWx8a\",\"updated_at\":\"2014-09-10 12:04:21 -0500\"},\"DiKSIe91dQgcL0KiuxPJ5Q\":{\"token\":\"$2a$10$RGRo3nTzBgR1M2ZunOvil.VLEM3FsoOnkXLPU71spqyvoQNwvOo5y\",\"expiry\":1411579349,\"last_token\":\"$2a$10$qGtDCNpyUzrsEo16gzyiBOMfhhzVThHm5ds3nU46SOvnWZ.7TcncK\",\"updated_at\":\"2014-09-10 12:22:29 -0500\"},\"k6Wel-WCvKcew1lwV2Spaw\":{\"token\":\"$2a$10$ZA9wzG7e92pzhyK7e9yIre75CkP7oyY0zhM3U2N.OpO/5lIPb20By\",\"expiry\":1411583221},\"QcGZ-z5yVs_uJ0OpTqoDfQ\":{\"token\":\"$2a$10$ejiOTOCCzrdqxmjdbD2zt.lo5ahnbIJ89TV5J/9M5dUKpwvs./1py\",\"expiry\":1411583257},\"CiOUt2xgx5cDIUobawIC2w\":{\"token\":\"$2a$10$SAhIhuTUdTSO35pCtc4sku.5yj5aKOSyWJqQ5NoMSgtELwtpRoara\",\"expiry\":1411583401},\"_oIKno-GuuW9atBYVPWqzg\":{\"token\":\"$2a$10$SLFngtHG7zADnZhBCAbEbOftcmUOB2bBM3B7jfcXs8U71JIvyzB6a\",\"expiry\":1411583770},\"9As97wuqh6guk7_tNOWBHw\":{\"token\":\"$2a$10$yIa0AxSXpkSaI9VNW3Jiy.qyeEA36JEbnpScNqIgX2bQ8T7ZgGWJy\",\"expiry\":1411583923},\"FML9lvFxKRMciSDPd0K2Tw\":{\"token\":\"$2a$10$c7QM59eIGib369pUVkG8DOg8WuwDTraFt6kdkuxx5.M8wvLC6xYA2\",\"expiry\":1411584099},\"G0D4xlwtrGDHw_6c5X49DA\":{\"token\":\"$2a$10$MnBBCcEY2sVJCpwM3svN9OO8nelhu4S3vR1Uum3NbcM0Sx7rQ.bNW\",\"expiry\":1411584253},\"Tr-yB0kT7KcrVd2rgxS7LA\":{\"token\":\"$2a$10$8HJcMV8HYVNXAh3MVBBp4.39d0iXGqJvPFLaXpFYtHAcseQqW.s6q\",\"expiry\":1411584504},\"GED5C54aUY6aEaz6YzoIUg\":{\"token\":\"$2a$10$WmSg1sQdETw5pPg5oQ8SV.Js9VpJg1Dl4K90yLGAZeZLNH83WTXzm\",\"expiry\":1411584516},\"r0kV0j17Hn_WJ0FCCydpEQ\":{\"token\":\"$2a$10$bWDVmdGI1F8B.N2GfTT2AOvCk38T0q8xTlMU6c7bRJbOHB2yOJFh6\",\"expiry\":1411584618},\"P2XUJec-oneiDTaeVkHmGw\":{\"token\":\"$2a$10$JXank187McWEOg0f8GJUZewg7BG6Lo1h0VEgkGKIRTdJqamEjCPcu\",\"expiry\":1411584652}}"], ["updated_at", "2014-09-10 20:25:12.136956"]]
|
8286
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
8287
|
+
Completed 200 OK in 67ms (Views: 0.2ms | ActiveRecord: 1.2ms)
|
8288
|
+
|
8289
|
+
|
8290
|
+
Started POST "/auth" for 127.0.0.1 at 2014-09-10 15:25:57 -0500
|
8291
|
+
Processing by DeviseTokenAuth::RegistrationsController#create as HTML
|
8292
|
+
Parameters: {"email"=>"e@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://ng-token-auth.dev/", "registration"=>{"email"=>"e@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://ng-token-auth.dev/"}}
|
8293
|
+
Unpermitted parameters: registration
|
8294
|
+
Unpermitted parameters: registration
|
8295
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8296
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."provider" = 'email' AND "users"."email" = 'e@test.com'[0m
|
8297
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '68160a48a120fa93e521fb54ce44983eaf0ff13eae9ca0a5aff369640e684e77' ORDER BY "users"."id" ASC LIMIT 1
|
8298
|
+
Binary data inserted for `string` type on column `confirmation_token`
|
8299
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
8300
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("confirm_success_url", "confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["confirm_success_url", "http://ng-token-auth.dev/"], ["confirmation_sent_at", "2014-09-10 20:25:57.778308"], ["confirmation_token", "68160a48a120fa93e521fb54ce44983eaf0ff13eae9ca0a5aff369640e684e77"], ["created_at", "2014-09-10 20:25:57.592125"], ["email", "e@test.com"], ["encrypted_password", "$2a$10$YSHrdn2jzzZn0MbRDgbLsuzljtnhqBu9dZrVrX8FEIs0B97IihLuq"], ["provider", "email"], ["tokens", "{}"], ["uid", "e@test.com"], ["updated_at", "2014-09-10 20:25:57.592125"]]
|
8301
|
+
Rendered /Users/lynn/Code/Auth/devise_token_auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.8ms)
|
8302
|
+
|
8303
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 315.9ms
|
8304
|
+
|
8305
|
+
Sent mail to e@test.com (38.3ms)
|
8306
|
+
Date: Wed, 10 Sep 2014 15:25:58 -0500
|
8307
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
8308
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
8309
|
+
To: e@test.com
|
8310
|
+
Message-ID: <5410b3d619efa_17ace3fe79d065be8836f@tests-MacBook-Pro-2.local.mail>
|
8311
|
+
Subject: Confirmation instructions
|
8312
|
+
Mime-Version: 1.0
|
8313
|
+
Content-Type: text/html;
|
8314
|
+
charset=UTF-8
|
8315
|
+
Content-Transfer-Encoding: 7bit
|
8316
|
+
|
8317
|
+
<p>Welcome e@test.com!</p>
|
8318
|
+
|
8319
|
+
<p>You can confirm your account email through the link below:</p>
|
8320
|
+
|
8321
|
+
<p><a href="http://devise-token-auth.dev/auth/confirmation?confirmation_token=yfUD-juKqprCfR-hUAse">Confirm my account</a></p>
|
8322
|
+
|
8323
|
+
[1m[35m (10.9ms)[0m commit transaction
|
8324
|
+
Completed 200 OK in 625ms (Views: 0.4ms | ActiveRecord: 12.0ms)
|
8325
|
+
|
8326
|
+
|
8327
|
+
Started GET "/auth/confirmation?confirmation_token=yfUD-juKqprCfR-hUAse" for 127.0.0.1 at 2014-09-10 15:26:11 -0500
|
8328
|
+
Processing by DeviseTokenAuth::ConfirmationsController#show as HTML
|
8329
|
+
Parameters: {"confirmation_token"=>"yfUD-juKqprCfR-hUAse"}
|
8330
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '68160a48a120fa93e521fb54ce44983eaf0ff13eae9ca0a5aff369640e684e77' ORDER BY "users"."id" ASC LIMIT 1[0m
|
8331
|
+
[1m[35m (0.0ms)[0m begin transaction
|
8332
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 12[0m [["confirmation_token", nil], ["confirmed_at", "2014-09-10 20:26:11.674260"], ["tokens", "{}"], ["updated_at", "2014-09-10 20:26:11.674576"]]
|
8333
|
+
[1m[35m (0.5ms)[0m commit transaction
|
8334
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8335
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 12 [["confirmation_token", "yfUD-juKqprCfR-hUAse"], ["tokens", "{\"Q9XmOf3LgmRap7fcwDfjuw\":{\"token\":\"$2a$10$2OR74Y88ofPCWyFpIp.PQur4qh5iA7k/SUoA.VhbaVE9Ggso4sdNG\",\"expiry\":1411590371}}"], ["updated_at", "2014-09-10 20:26:11.736798"]]
|
8336
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
8337
|
+
Redirected to http://ng-token-auth.dev/?account_confirmation_success=true&client_id=Q9XmOf3LgmRap7fcwDfjuw&expiry=1411590371&token=f6N1EXfC3fTZ0-6xxNb9SQ&uid=e%40test.com
|
8338
|
+
Completed 302 Found in 68ms (ActiveRecord: 2.3ms)
|
8339
|
+
|
8340
|
+
|
8341
|
+
Started POST "/auth" for 127.0.0.1 at 2014-09-10 15:49:01 -0500
|
8342
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8343
|
+
Processing by DeviseTokenAuth::RegistrationsController#create as HTML
|
8344
|
+
Parameters: {"email"=>"e2@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "favorite_color"=>"red", "confirm_success_url"=>"http://ng-token-auth.dev/?account_confirmation_success=true&client_id=Q9XmOf3LgmRap7fcwDfjuw&expiry=1411590371&token=f6N1EXfC3fTZ0-6xxNb9SQ&uid=e%40test.com", "registration"=>{"email"=>"e2@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "favorite_color"=>"red", "confirm_success_url"=>"http://ng-token-auth.dev/?account_confirmation_success=true&client_id=Q9XmOf3LgmRap7fcwDfjuw&expiry=1411590371&token=f6N1EXfC3fTZ0-6xxNb9SQ&uid=e%40test.com"}}
|
8345
|
+
Unpermitted parameters: registration
|
8346
|
+
Unpermitted parameters: registration
|
8347
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8348
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."provider" = 'email' AND "users"."email" = 'e2@test.com'[0m
|
8349
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '7fe51341acac9975ec401a9dc3a64f41655fb1bfda0a6d2df1bcef915aa36de3' ORDER BY "users"."id" ASC LIMIT 1
|
8350
|
+
Binary data inserted for `string` type on column `confirmation_token`
|
8351
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
8352
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("confirm_success_url", "confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "favorite_color", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["confirm_success_url", "http://ng-token-auth.dev/?account_confirmation_success=true&client_id=Q9XmOf3LgmRap7fcwDfjuw&expiry=1411590371&token=f6N1EXfC3fTZ0-6xxNb9SQ&uid=e%40test.com"], ["confirmation_sent_at", "2014-09-10 20:49:02.011091"], ["confirmation_token", "7fe51341acac9975ec401a9dc3a64f41655fb1bfda0a6d2df1bcef915aa36de3"], ["created_at", "2014-09-10 20:49:01.818937"], ["email", "e2@test.com"], ["encrypted_password", "$2a$10$TPp/Pgc35.LURX216190BOKTBsKbOQLGgh410eTOBb4HS/f7QcBDC"], ["favorite_color", "red"], ["provider", "email"], ["tokens", "{}"], ["uid", "e2@test.com"], ["updated_at", "2014-09-10 20:49:01.818937"]]
|
8353
|
+
Rendered /Users/lynn/Code/Auth/devise_token_auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.5ms)
|
8354
|
+
|
8355
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 361.0ms
|
8356
|
+
|
8357
|
+
Sent mail to e2@test.com (16.4ms)
|
8358
|
+
Date: Wed, 10 Sep 2014 15:49:02 -0500
|
8359
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
8360
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
8361
|
+
To: e2@test.com
|
8362
|
+
Message-ID: <5410b93e5d424_41993fc01d865bec993da@tests-MacBook-Pro-2.local.mail>
|
8363
|
+
Subject: Confirmation instructions
|
8364
|
+
Mime-Version: 1.0
|
8365
|
+
Content-Type: text/html;
|
8366
|
+
charset=UTF-8
|
8367
|
+
Content-Transfer-Encoding: 7bit
|
8368
|
+
|
8369
|
+
<p>Welcome e2@test.com!</p>
|
8370
|
+
|
8371
|
+
<p>You can confirm your account email through the link below:</p>
|
8372
|
+
|
8373
|
+
<p><a href="http://devise-token-auth.dev/auth/confirmation?confirmation_token=1vquZ7Pobfw9EWdJKPdZ">Confirm my account</a></p>
|
8374
|
+
|
8375
|
+
[1m[35m (0.7ms)[0m commit transaction
|
8376
|
+
Completed 200 OK in 674ms (Views: 0.4ms | ActiveRecord: 1.9ms)
|
8377
|
+
|
8378
|
+
|
8379
|
+
Started GET "/auth/confirmation?confirmation_token=1vquZ7Pobfw9EWdJKPdZ" for 127.0.0.1 at 2014-09-10 15:49:17 -0500
|
8380
|
+
Processing by DeviseTokenAuth::ConfirmationsController#show as HTML
|
8381
|
+
Parameters: {"confirmation_token"=>"1vquZ7Pobfw9EWdJKPdZ"}
|
8382
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '7fe51341acac9975ec401a9dc3a64f41655fb1bfda0a6d2df1bcef915aa36de3' ORDER BY "users"."id" ASC LIMIT 1[0m
|
8383
|
+
[1m[35m (0.0ms)[0m begin transaction
|
8384
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 13[0m [["confirmation_token", nil], ["confirmed_at", "2014-09-10 20:49:17.739962"], ["tokens", "{}"], ["updated_at", "2014-09-10 20:49:17.740207"]]
|
8385
|
+
[1m[35m (17.5ms)[0m commit transaction
|
8386
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8387
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 13 [["confirmation_token", "1vquZ7Pobfw9EWdJKPdZ"], ["tokens", "{\"_gGc59OqnQr13klcokMnmw\":{\"token\":\"$2a$10$ciG/PNVKU.OcvMGTBcfjfeLk4cvSCMf.Bf0PtZ98a4wxlI3NgQZgK\",\"expiry\":1411591757}}"], ["updated_at", "2014-09-10 20:49:17.823304"]]
|
8388
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
8389
|
+
Redirected to http://ng-token-auth.dev/#?account_confirmation_success=true&client_id=_gGc59OqnQr13klcokMnmw&expiry=1411591757&token=8U6wOQr028Jh8dDEvUSOAA&uid=e2%40test.com
|
8390
|
+
Completed 302 Found in 88ms (ActiveRecord: 19.1ms)
|
8391
|
+
|
8392
|
+
|
8393
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-09-10 15:49:18 -0500
|
8394
|
+
Processing by DeviseTokenAuth::AuthController#validate_token as HTML
|
8395
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'e2@test.com' LIMIT 1
|
8396
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8397
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 13 [["tokens", "{\"_gGc59OqnQr13klcokMnmw\":{\"token\":\"$2a$10$zOGzIkChykEX1n3fNc36..MS5Prrfu8NLQgS1q4m4HYYj0Gi22mo2\",\"expiry\":1411591758,\"last_token\":\"$2a$10$ciG/PNVKU.OcvMGTBcfjfeLk4cvSCMf.Bf0PtZ98a4wxlI3NgQZgK\",\"updated_at\":\"2014-09-10 15:49:18 -0500\"}}"], ["updated_at", "2014-09-10 20:49:18.656690"]]
|
8398
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
8399
|
+
Completed 200 OK in 134ms (Views: 0.2ms | ActiveRecord: 2.7ms)
|
8400
|
+
|
8401
|
+
|
8402
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-09-10 15:53:11 -0500
|
8403
|
+
Processing by DeviseTokenAuth::AuthController#validate_token as HTML
|
8404
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'e2@test.com' LIMIT 1
|
8405
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8406
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 13 [["tokens", "{\"_gGc59OqnQr13klcokMnmw\":{\"token\":\"$2a$10$.usOwyx3SmKVQGxHxG.z2ezYGjRnNCmh9neRXOkj8qi8ZN2Dh8/gi\",\"expiry\":1411591992,\"last_token\":\"$2a$10$zOGzIkChykEX1n3fNc36..MS5Prrfu8NLQgS1q4m4HYYj0Gi22mo2\",\"updated_at\":\"2014-09-10 15:53:12 -0500\"}}"], ["updated_at", "2014-09-10 20:53:12.017670"]]
|
8407
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
8408
|
+
Completed 200 OK in 128ms (Views: 0.3ms | ActiveRecord: 2.5ms)
|
8409
|
+
|
8410
|
+
|
8411
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-09-10 15:53:17 -0500
|
8412
|
+
Processing by DeviseTokenAuth::AuthController#validate_token as HTML
|
8413
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'e2@test.com' LIMIT 1
|
8414
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8415
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 13 [["tokens", "{\"_gGc59OqnQr13klcokMnmw\":{\"token\":\"$2a$10$LAGfXYE.MlLsecDCKXJlG.ILhWH5bvdQijsielKvzVyZ4l8UjuvuO\",\"expiry\":1411591997,\"last_token\":\"$2a$10$.usOwyx3SmKVQGxHxG.z2ezYGjRnNCmh9neRXOkj8qi8ZN2Dh8/gi\",\"updated_at\":\"2014-09-10 15:53:17 -0500\"}}"], ["updated_at", "2014-09-10 20:53:17.496934"]]
|
8416
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
8417
|
+
Completed 200 OK in 127ms (Views: 0.2ms | ActiveRecord: 1.2ms)
|
8418
|
+
|
8419
|
+
|
8420
|
+
Started DELETE "/auth/sign_out" for 127.0.0.1 at 2014-09-10 15:53:20 -0500
|
8421
|
+
Processing by DeviseTokenAuth::SessionsController#destroy as HTML
|
8422
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'e2@test.com' LIMIT 1
|
8423
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8424
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 13 [["tokens", "{}"], ["updated_at", "2014-09-10 20:53:20.341917"]]
|
8425
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
8426
|
+
Completed 200 OK in 67ms (Views: 0.2ms | ActiveRecord: 2.5ms)
|
8427
|
+
|
8428
|
+
|
8429
|
+
Started POST "/auth" for 127.0.0.1 at 2014-09-10 15:53:28 -0500
|
8430
|
+
Processing by DeviseTokenAuth::RegistrationsController#create as HTML
|
8431
|
+
Parameters: {"email"=>"e3@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://ng-token-auth.dev/", "registration"=>{"email"=>"e3@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://ng-token-auth.dev/"}}
|
8432
|
+
Unpermitted parameters: registration
|
8433
|
+
Unpermitted parameters: registration
|
8434
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8435
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."provider" = 'email' AND "users"."email" = 'e3@test.com'[0m
|
8436
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '2aec07499e99d05c7ea89c09b471b0b6a6f5f388de146e263c227822611b3d32' ORDER BY "users"."id" ASC LIMIT 1
|
8437
|
+
Binary data inserted for `string` type on column `confirmation_token`
|
8438
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
8439
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("confirm_success_url", "confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["confirm_success_url", "http://ng-token-auth.dev/"], ["confirmation_sent_at", "2014-09-10 20:53:28.271976"], ["confirmation_token", "2aec07499e99d05c7ea89c09b471b0b6a6f5f388de146e263c227822611b3d32"], ["created_at", "2014-09-10 20:53:28.270971"], ["email", "e3@test.com"], ["encrypted_password", "$2a$10$7yW/RFYmyxtMS6gJk6g1hO7QzrUYHvd5W3Kx/orAE2XKOgLdNdWKS"], ["provider", "email"], ["tokens", "{}"], ["uid", "e3@test.com"], ["updated_at", "2014-09-10 20:53:28.270971"]]
|
8440
|
+
Rendered /Users/lynn/Code/Auth/devise_token_auth/app/views/devise/mailer/confirmation_instructions.html.erb (0.3ms)
|
8441
|
+
|
8442
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 18.3ms
|
8443
|
+
|
8444
|
+
Sent mail to e3@test.com (14.6ms)
|
8445
|
+
Date: Wed, 10 Sep 2014 15:53:28 -0500
|
8446
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
8447
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
8448
|
+
To: e3@test.com
|
8449
|
+
Message-ID: <5410ba48478af_41993fc01d865bec99490@tests-MacBook-Pro-2.local.mail>
|
8450
|
+
Subject: Confirmation instructions
|
8451
|
+
Mime-Version: 1.0
|
8452
|
+
Content-Type: text/html;
|
8453
|
+
charset=UTF-8
|
8454
|
+
Content-Transfer-Encoding: 7bit
|
8455
|
+
|
8456
|
+
<p>Welcome e3@test.com!</p>
|
8457
|
+
|
8458
|
+
<p>You can confirm your account email through the link below:</p>
|
8459
|
+
|
8460
|
+
<p><a href="http://devise-token-auth.dev/auth/confirmation?confirmation_token=o6Zz5RvJtNb3zNRap3iD">Confirm my account</a></p>
|
8461
|
+
|
8462
|
+
[1m[35m (1.3ms)[0m commit transaction
|
8463
|
+
Completed 200 OK in 103ms (Views: 0.3ms | ActiveRecord: 2.0ms)
|
8464
|
+
|
8465
|
+
|
8466
|
+
Started GET "/auth/confirmation?confirmation_token=o6Zz5RvJtNb3zNRap3iD" for 127.0.0.1 at 2014-09-10 15:53:38 -0500
|
8467
|
+
Processing by DeviseTokenAuth::ConfirmationsController#show as HTML
|
8468
|
+
Parameters: {"confirmation_token"=>"o6Zz5RvJtNb3zNRap3iD"}
|
8469
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '2aec07499e99d05c7ea89c09b471b0b6a6f5f388de146e263c227822611b3d32' ORDER BY "users"."id" ASC LIMIT 1[0m
|
8470
|
+
[1m[35m (0.0ms)[0m begin transaction
|
8471
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 14[0m [["confirmation_token", nil], ["confirmed_at", "2014-09-10 20:53:38.100716"], ["tokens", "{}"], ["updated_at", "2014-09-10 20:53:38.100973"]]
|
8472
|
+
[1m[35m (5.3ms)[0m commit transaction
|
8473
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8474
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 14 [["confirmation_token", "o6Zz5RvJtNb3zNRap3iD"], ["tokens", "{\"dlIqZ7q4xcmgc9optH_J2g\":{\"token\":\"$2a$10$ZfIsXQIxR9A.VzHZm/7usuZLb1xn8SAk9hgjMsqm4nvCgiEWFE4WW\",\"expiry\":1411592018}}"], ["updated_at", "2014-09-10 20:53:38.167371"]]
|
8475
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
8476
|
+
Redirected to http://ng-token-auth.dev/#?account_confirmation_success=true&client_id=dlIqZ7q4xcmgc9optH_J2g&expiry=1411592018&token=-fUo81s5EK9ZvOP9ghU3Tw&uid=e3%40test.com
|
8477
|
+
Completed 302 Found in 70ms (ActiveRecord: 6.8ms)
|
8478
|
+
|
8479
|
+
|
8480
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-09-10 15:53:38 -0500
|
8481
|
+
Processing by DeviseTokenAuth::AuthController#validate_token as HTML
|
8482
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'e3@test.com' LIMIT 1
|
8483
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8484
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 14 [["tokens", "{\"dlIqZ7q4xcmgc9optH_J2g\":{\"token\":\"$2a$10$1XiqZaz0caVIyjYlqzqBW.FSxAtr8XmsKNmsbfxxyZbn/FoDwqzZG\",\"expiry\":1411592018,\"last_token\":\"$2a$10$ZfIsXQIxR9A.VzHZm/7usuZLb1xn8SAk9hgjMsqm4nvCgiEWFE4WW\",\"updated_at\":\"2014-09-10 15:53:38 -0500\"}}"], ["updated_at", "2014-09-10 20:53:38.692970"]]
|
8485
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
8486
|
+
Completed 200 OK in 125ms (Views: 0.2ms | ActiveRecord: 1.2ms)
|