mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
Restore password length message in case of error
This commit is contained in:
@@ -30,6 +30,10 @@ class Devise::RegistrationsController < DeviseController
|
||||
end
|
||||
else
|
||||
clean_up_passwords resource
|
||||
@validatable = devise_mapping.validatable?
|
||||
if @validatable
|
||||
@minimum_password_length = resource_class.password_length.min
|
||||
end
|
||||
respond_with resource
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user