app/controllers/admin/sessions_controller.rb in camaleon_cms-1.0.8 vs app/controllers/admin/sessions_controller.rb in camaleon_cms-1.0.9
- old
+ new
@@ -34,10 +34,10 @@
else
captcha_increment_attack("login")
if captcha_validate
flash[:error] = t('admin.login.message.fail')
else
- flash[:error] = "Invalid captcha"
+ flash[:error] = t('admin.login.message.invalid_caption')
end
@user = current_site.users.new(data_user)
render 'admin/sessions/login'
end
end