Andrés Mejía
fe4eaf2d12
Invoking the model generator even if the model exists but only when the behavior is :revoke (i.e. we are running 'rails destroy' instead of 'rails generate')
2010-12-18 15:15:42 +08:00
Andrés Mejía
845c186f48
Removing caching from #model_exists? so it doesn't return a false positive when the method is called, the file is deleted and then the method is called again.
2010-12-18 15:15:42 +08:00
José Valim
b50fd1a72e
Fix e-mail regexp. Closes #698
2010-12-01 17:19:45 +01:00
José Valim
f2f9232b89
Fix typo.
2010-11-30 05:01:19 -08:00
José Valim
cb62597afa
Improve messages.
2010-11-30 12:23:09 +01:00
José Valim
089c316f37
Improve message.
2010-11-29 00:56:43 -08:00
José Valim
ec5bfe9119
Ensure to convert keys on indifferent hash.
2010-11-27 19:45:25 +01:00
Gavin Hughes
fe5ef25614
Deprecate anybody_signed_in? in favor of signed_in?(nil)
2010-11-28 00:09:23 +08:00
José Valim
4977bd1222
Fix indifferent access on session issue.
2010-11-25 00:06:39 +01:00
José Valim
71450998c5
Avoid session fixation attacks.
2010-11-20 23:18:41 +01:00
José Valim
6f205fe4c4
Tidy up.
2010-11-20 21:44:53 +01:00
Steve Ross
4a8f9a9ba8
set_flash_message: Added conditional to make certain flash entries are not set if message is blank.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-11-20 21:42:25 +01:00
José Valim
d8016ea3fd
Ensure namespaces has proper scoped views, closes #654
2010-11-20 21:41:26 +01:00
José Valim
6bfcbeffdd
Tidy up and update CHANGELOG.
2010-11-20 21:19:12 +01:00
Andrew Dahl
8d1e23c67d
add unit and integration tests for case insensitive keys
2010-11-20 15:54:01 +01:00
Andrew Dahl
e911abf13b
changed case_insensitive_keys config setting to an array and added downcasing of keys as a before filter on database authentication module
2010-11-18 23:29:53 +01:00
Andrew Dahl
94c666e439
first attempt
2010-11-18 21:24:42 +01:00
Andrés Mejía
020f919dcd
Tpyo.
2010-11-15 18:35:15 +08:00
José Valim
b70b72b6b0
Rollback to use the regexp result.
2010-11-15 10:01:45 +01:00
Denis Hennessy
19219cbe0f
Fix for HTTP Basic Auth when base64 encoded string wraps
...
When using a token longer than approximately 45 characters, the base64 encoded string passed in
the HTTP_AUTHORIZATION header will contain newline characters. The existing implementation used
a regex which didn't handle this case correctly.
2010-11-15 16:40:39 +08:00
Robert Peters
32c6f7b00b
For #646 - modify the configuration text that is output for confirm_within so that it matches the actual default value. If you use nil as a value, it crashes trying to call nil.ago
2010-11-13 15:50:33 +08:00
José Valim
67a49f3b75
Ensure authenticatable_salt can be nil.
2010-11-11 22:51:39 +01:00
José Valim
14d772972d
No need to set a pepper in a bcrypt world.
2010-11-11 12:54:09 -08:00
José Valim
b2496d1bc1
Smallish updates.
2010-11-11 13:53:52 +01:00
José Valim
c7efb68a77
Devise does not intercept 401 returned from applications anymore
2010-11-09 23:42:14 +01:00
José Valim
505bd39700
failure_app now properly handles nil request.format
2010-11-09 23:30:53 +01:00
José Valim
931b902583
Fix failing tests.
2010-11-09 22:27:46 +01:00
José Valim
835d1044ae
Fix a problem with IE7 headers.
2010-11-08 22:45:42 +01:00
José Valim
1f44c61d08
Improve error messages, closes #574
2010-11-06 08:54:03 +01:00
Mike Gehard
9b468816dd
Add in some instructions for getting routes to a custom action on a Devise override controller
2010-11-06 15:52:29 +08:00
bUg
ab033ea986
fix for omniauth 0.2.0
2010-11-04 08:21:34 +08:00
David A. Cuadrado
09a46695f2
omniauth route should not add a ? if no param is given
2010-10-31 03:06:53 +08:00
David A. Cuadrado
bf19b15914
added open id support via omniauth
2010-10-31 03:06:52 +08:00
bUg
c429fe8d1c
fixed bug 'Could not find a valid mapping for path /users/auth/:provider/callback' when devise_for called inside scope
2010-10-30 08:57:13 +08:00
bUg
d8f33b8925
omniauth routes fix, see devise issue #600
2010-10-29 20:48:40 +08:00
José Valim
e30c0f3319
Do not automatically set filter_parameters.
2010-10-26 18:07:06 -02:00
bUg
6b04312be5
get -> match for omniauth callbacks
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-10-26 17:55:18 -02:00
José Valim
31edd76369
Remove crazy controllers handling code.
2010-10-18 15:01:38 +02:00
José Valim
3e38043085
Properly handle failure.
2010-10-18 15:00:34 +02:00
José Valim
611261c64e
More tests for Omniauth.
2010-10-18 15:00:34 +02:00
José Valim
2f360bf201
Remove OAuth2 in favor of OmniAuth.
2010-10-18 15:00:34 +02:00
José Valim
5d4e4fbb88
Automatically set OmniAuth path prefix
2010-10-18 15:00:34 +02:00
José Valim
21d5e50054
Basic omniauth support.
2010-10-18 15:00:34 +02:00
George Guimarães
bca72ddf59
fixing typo and whitespaces
2010-10-16 20:17:39 -03:00
Jared Morgan
0aa21dca4c
Use to_adapter.get in Warden::SessionSerializer#deserialize
2010-10-17 04:22:22 +08:00
Jared Morgan
31170b9100
Use to_adapter in two more methods
...
Authenticatable.generate_token and Warden::SessionSerializer#deserialize
2010-10-17 04:22:22 +08:00
José Valim
cdbd03c45a
Simplify I18n lookup.
2010-10-14 14:43:41 +02:00
José Valim
8a8ba6c70c
Depend on ORM Adapter.
2010-10-10 17:51:32 +02:00
José Valim
e4c5158851
Sign out by default will destroy the existing session.
2010-10-10 17:51:32 +02:00
José Valim
7bc37e5237
Provide a better encryptor message and update Gemfile.lock.
2010-10-10 17:51:32 +02:00