Julius Graakjær Grantzau
356b094312
Downcase authentication keys and humanize error message ( #4834 )
...
"Invalid Email or password." is grammatically incorrect, a change
introduced a while ago by #4014 .
Signed-off-by: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com >
2025-12-31 14:40:36 -03:00
tabakazu
8acbdd6d93
Replace matcher refute to assert_not
2023-03-02 18:38:04 -03:00
Samuel Pordeus
fb18c6ca8d
Fix typos
2019-11-28 18:13:47 -03:00
Tony Correia
1c8e97c75a
Issue 4763: Change login errors for when in paranoid mode
2018-05-09 10:49:27 -03:00
Pat Allan
f39c6fd927
Add the frozen_string_literal pragma comment to all Ruby files. ( #4725 )
2017-12-21 15:36:29 -02:00
Lucas Mazza
536279b05b
Replace homemade assert_not matcher in favor of refute.
2016-05-03 13:57:10 -03:00
byzg
357ce9c3b5
Humanize authentication keys in failure flash message ( #4014 )
...
Humanize and translates the authentication keys in failure flash message.
2016-04-26 11:17:03 -03:00
Thomas Walpole
2024fca4df
Rails 5 compatability. Remove rails < 4.1 and Ruby < 2.1
2015-12-11 09:47:30 -08:00
BM5k
6f88df3453
add test for after_database_authentication
2014-11-08 16:00:07 -07:00
Anshul Sharma
dc1b399a8b
Updated ruby 1.9 hash syntax
2014-02-25 22:12:55 +05:30
Carlos Antonio da Silva
86eecc6606
Change "ActionController::IntegrationTest" to "ActionDispatch::IntegrationTest"
2013-01-28 19:58:21 -02:00
José Valim
e1fde192f2
Update CHANGELOG
2012-12-13 08:43:43 +01:00
Gabe Martin-Dempesy
130d684198
Change failure key for missing database resource to :invalid_email
2012-11-19 15:49:21 -08:00
Carlos Galdino
c179cef365
Change the minimum password length to 8
2012-07-06 11:46:46 -03:00
José Valim
e242ca0937
Fix failing tests.
2011-06-10 11:10:56 +02:00
Stefan Wrobel
8e87a2d80d
Add strip_whitespace_keys which works like case_insensitive_keys but strips whitespace from emails
2011-06-10 01:37:43 -07:00
Andrew Dahl
8d1e23c67d
add unit and integration tests for case insensitive keys
2010-11-20 15:54:01 +01:00
José Valim
70a429d9ff
Split tests files a bit.
2010-06-13 12:11:15 +02:00
José Valim
f16d01869a
Rename apply_schema to apply_devise_schema and refactor Mongoid part a bit.
2010-06-13 11:48:45 +02:00
Alexander Uvarov
6ff77c9fdf
Add merb-auth like router helper
2010-05-25 05:51:32 +08:00
José Valim
bff64a6291
Added navigational formats to specify when it should return a 302 and when a 401, closes #234 and #249 .
2010-05-16 19:13:38 +02:00
José Valim
d38421dde8
Green tests on Rails master, closes #261
2010-05-15 10:39:11 +02:00
José Valim
4da63c5395
Ensure routes are loaded before application classes are eager loaded, closes #212 .
2010-04-22 19:59:52 +02:00
José Valim
1591294b7a
Compatibility with Rails beta 3.
2010-04-05 11:46:26 +02:00
José Valim
b974b7bc78
Move failure messages from devise.sessions to devise.failure.
2010-04-03 13:11:45 +02:00
José Valim
23e608e27b
No need to append ?unauthenticated=true in URLs anymore since Flash was moved to a middleware in Rails 3.
2010-04-03 11:43:31 +02:00
José Valim
13b8ddf54c
Ensure customs pass through sessions_controller.
2010-04-01 14:00:21 +02:00
José Valim
1c5d4771ff
Initial work on making the authentication stack more flexible.
2010-03-29 16:13:19 +02:00