better error message for INVALID_SERVICE

git-svn-id: https://rubycas-server.googlecode.com/svn/trunk@36 fffcb96a-a727-0410-ad3e-7b35c796b8d7
This commit is contained in:
matt.zukowski 2007-03-07 23:29:26 +00:00
Родитель e1e052dfa2
Коммит 9bb61ae73d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -146,7 +146,7 @@ module CASServer::CAS
$LOG.info("Ticket '#{ticket}' for service '#{service}' successfully validated.")
else
error = Error.new("INVALID_SERVICE", "The ticket '#{ticket}' is valid,"+
" but the service specified does not match the service associated with this ticket.")
" but the service '#{service}' specified does not match the service '#{st.service}' associated with this ticket.")
$LOG.warn("#{error.code} - #{error.message}")
end
else