OSDN Git Service

Minimal password length increased
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Mon, 25 Nov 2013 16:11:03 +0000 (18:11 +0200)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Mon, 25 Nov 2013 16:11:03 +0000 (18:11 +0200)
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
config/initializers/devise.rb

index b7cb808..dcf829c 100644 (file)
@@ -101,7 +101,7 @@ Devise.setup do |config|
 
   # ==> Configuration for :validatable
   # Range for password length. Default is 6..128.
-  config.password_length = 6..128
+  config.password_length = 8..128
 
   # Email regex used to validate email formats. It simply asserts that
   # an one (and only one) @ exists in the given string. This is mainly