ref: refs/heads/master
commit 1303f0255737862ecef883057f59d5a6448092ce
Author: Josef Reidinger
Date: Tue Nov 3 14:01:54 2009 +0100
adapt text that rest-service brute force prevention remember user which is blocked
---
webclient/app/controllers/sessions_controller.rb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/webclient/app/controllers/sessions_controller.rb b/webclient/app/controllers/sessions_controller.rb
index e521665..f66afed 100644
--- a/webclient/app/controllers/sessions_controller.rb
+++ b/webclient/app/controllers/sessions_controller.rb
@@ -72,8 +72,8 @@ class SessionsController < ApplicationController
return
rescue Account::BlockedService => e
session[:user] = session[:host] = nil
- #show warning that user cannot log to host to %s time
- flash[:warning] = _("Host is blocked to login to %s") % e.time.to_s
+ #show warning that user %s cannot log to host. He can try it at first at %s (time of target machine)
+ flash[:warning] = _("Host has blocked user %s. It cannot login until %s") % [params[:login], e.time.to_s]
redirect_to :action => "new", :hostid => host.id
return
end
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org