Katee
607bf70674
Shows min password length on edit password view.
2014-12-15 19:52:58 -05:00
Prathamesh Sonpatki
13c2d4e807
Fix description of find_or_initialize_with_error methods
...
[ci skip]
2014-12-12 09:26:17 +05:30
Brent Wheeldon
cb89e4435c
Only set token back if password reset fails.
...
This prevents the digested version of the token being saved when a reset
is successful.
2014-12-01 17:58:18 -05:00
Jorge Gajon
640dd97149
Trivial doc text correction in authenticatable.rb
2014-11-30 22:56:44 -06:00
Rodrigo Rosenfeld Rosas
ae00e0bb20
Remove old references to removed remember_across_browsers option
2014-11-21 17:33:58 -02:00
Stephen Baldwin
06e0f8adca
Update devise.rb
2014-11-20 16:01:21 -05:00
Stephen Baldwin
a9e87f067a
Ability to load modules in specific order
...
Allow modules to be inserted at set positions
2014-11-20 15:16:46 -05:00
Tim Scott
e9bf72be6a
Use args hash instead of named parameters for confirm!
2014-11-19 18:38:58 -06:00
Tim Scott
3b882dadac
Made ensure valid a named param for confirm!, and added a test.
2014-11-19 16:48:35 -06:00
Tim Scott
4ba84eeb27
Option to validate upon #confirm!
...
Allow to ensure valid upon confirming.
We might want to consider confirmation status in validations. For example, maybe we want to require certain fields upon confirmation, but not at registration.
2014-11-19 12:29:08 -06:00
Logan Leger
c7cc91cb65
Update password length validation to 72 characters max
...
BCrypt has a limit of 72 characters for the password. Anything beyond 72
characters is truncated. This commit updates the validation to limit
passwords to less than 72 characters, keeping within the limitation.
2014-11-18 23:10:01 -06:00
Dave Powers
63ae9701b4
Update casing of 'OmniAuth' to match that of official OmniAuth documentation
2014-11-14 14:45:09 -05:00
BM5k
8c3c6ac10f
add docs to other callbacks
2014-11-08 16:51:08 -07:00
BM5k
b5713a8ddf
add Rememerable#after_remembered callback
2014-11-08 16:39:24 -07:00
José Valim
910868785c
Merge pull request #3295 from jbourassa/stored_location_fragment
...
Include URI's fragment in `store_location_for`
2014-11-05 20:06:28 -02:00
Jimmy Bourassa
5dedd8c4cf
Add fragment support for store_location_for
2014-11-05 16:52:40 -05:00
Alan deLevie
09f433691a
Fix small typo in devise_authenticatable.rb
2014-11-05 16:51:29 -05:00
Lucas Mazza
e3f794f369
Release 3.4.1
2014-10-29 12:59:33 -02:00
Lucas Mazza
a93edc72fd
Check for a Hash when using the authentication_keys to generate the FailureApp flash message.
...
Fixes #3270 .
2014-10-27 22:32:19 -02:00
Jan Pantel
d6c8aef15f
Fix typo in controller generators help message
2014-10-18 17:34:38 +02:00
Lucas Mazza
bdf9c25f3b
Release 3.4.0
2014-10-03 14:28:15 -03:00
Lucas Mazza
8e5c098e3a
Merge pull request #3153 from plataformatec/lm-rails-4-2
...
Rails 4.2 compatibility
2014-10-03 14:07:59 -03:00
Lucas Mazza
547e18e24e
Merge pull request #3239 from plataformatec/lm-last_attempt_warning
...
Use the `last_attempt_warning` configuration with the lockable unauthenticated_message message.
2014-10-03 14:04:56 -03:00
Lucas Mazza
6405c96213
last_attempt_warning should be true for now on.
2014-10-03 09:49:29 -03:00
Lucas Mazza
1d8890b773
Merge branch 'master' into lm-rails-4-2
2014-10-03 09:41:23 -03:00
Lucas Mazza
c411ebcad6
Revert "Removes reloading of routes when eager loading ..."
2014-10-03 09:35:05 -03:00
Lucas Mazza
8b15184a25
Use the last_attempt_warning configuration with the lockable unauthenticated_message message.
...
This configuration was added in #2687 but it was never used in the real code that
defines what message should be used by the app.
2014-10-02 18:50:48 -03:00
Lucas Mazza
7eeaac9db1
Merge branch 'master' into lm-rails-4-2
2014-09-29 17:30:30 -03:00
Timo Schilling
0f240ab68f
code cleanup FailureApp
2014-09-24 15:51:51 +02:00
Timo Schilling
d546665102
use I18n "support.array.words_connector" as connector
2014-09-24 14:13:37 +02:00
Timo Schilling
d3c53904c7
use auth keys from scope instead of global config
2014-09-24 14:05:38 +02:00
Timo Schilling
6b0d11ed7a
use authentication_keys in flash message, instead of static ‘username’ ( fix #3201 )
2014-09-23 18:42:11 +02:00
Lucas Mazza
39ed332299
Ensure that we sanitize any AC::Parameters in find_or_initialize_with_errors.
...
As we are already slicing the Hash, we must be sure that this method will send
a "safe" object down to the other finder methods that will use the Hash entries
to do the querying.
2014-09-18 18:21:05 -03:00
Lucas Mazza
8482e485d1
Merge branch 'master' into lm-rails-4-2
2014-09-18 17:46:14 -03:00
Lucas Mazza
131013ac56
Controller templates should have the .rb extension, not .erb.
2014-09-18 17:21:25 -03:00
Lucas Mazza
79a4b93993
Point users to the canonical Omniauth docs in our README, not the wiki.
2014-09-18 17:18:11 -03:00
Lucas Mazza
9fe1561b56
Merge pull request #3169 from Chun-Yang/master
...
Create controller generator for devise (rails generator devise:controllers users -c sessions)
2014-09-18 17:17:17 -03:00
José Valim
7029a5aaa8
Decouple validation from remember_me in authentication strategies
...
Closes #3118
2014-09-18 20:04:12 +02:00
José Valim
73c406b481
Fix docs for http_authenticatable_on_xhr, closes #3112
2014-09-18 19:50:58 +02:00
José Valim
1581a34ee4
Merge pull request #3195 from fgro/master
...
Removes reloading of routes when eager loading ...
2014-09-18 19:44:45 +02:00
José Valim
32b5299547
Merge pull request #3171 from micat/find_scope-should-accept-string
...
Url helpers raise "undefined method `router_name' for nil:NilClass"
2014-09-18 19:41:49 +02:00
Chun-Yang
439112adf3
change before_action to before_filter to make it backward compatible to rails 3.2
2014-09-09 20:40:05 -05:00
Chun-Yang
17f6c76dc7
simplify sanitizer in *_params function
2014-09-09 20:35:46 -05:00
Chun-Yang
6003c69818
change indentation
2014-09-09 20:31:48 -05:00
Fred Grosskopf
db88341402
Removes reloading of routes when eager loading ...
...
... is enabled.
The old code may cause conflicts when developing an engine (i.e. invalid
route name) and according to @josevalim the reason for it to remain is
unknown.
2014-09-08 14:21:33 +02:00
Chun-Yang
67dc138d94
add before_action hooks for registrations and sessions controllers to enable user to add extra params
2014-09-03 00:10:32 -05:00
Chun-Yang
86ac552287
add *_path_for stubs in all controllers
2014-09-02 23:49:37 -05:00
Chun-Yang
e2e9e90d69
move controller generator info from lib/generators/templates/README to README
2014-09-02 23:25:38 -05:00
Chun-Yang
daad552e1b
make scope required
2014-09-02 23:04:27 -05:00
Chun-Yang
2f81a83232
refactor code, use a constant insead of a class variable
2014-09-02 22:54:06 -05:00