You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kw...@apache.org on 2015/10/05 10:08:12 UTC
svn commit: r1706759 -
/qpid/java/trunk/broker-plugins/management-http/src/main/java/resources/js/qpid/authorization/sasl.js
Author: kwall
Date: Mon Oct 5 08:08:12 2015
New Revision: 1706759
URL: http://svn.apache.org/viewvc?rev=1706759&view=rev
Log:
QPID-6763: Better representation of errors on login screen of WebManagement
Work by Lorenz Quack <qu...@gmail.com>
Modified:
qpid/java/trunk/broker-plugins/management-http/src/main/java/resources/js/qpid/authorization/sasl.js
Modified: qpid/java/trunk/broker-plugins/management-http/src/main/java/resources/js/qpid/authorization/sasl.js
URL: http://svn.apache.org/viewvc/qpid/java/trunk/broker-plugins/management-http/src/main/java/resources/js/qpid/authorization/sasl.js?rev=1706759&r1=1706758&r2=1706759&view=diff
==============================================================================
--- qpid/java/trunk/broker-plugins/management-http/src/main/java/resources/js/qpid/authorization/sasl.js (original)
+++ qpid/java/trunk/broker-plugins/management-http/src/main/java/resources/js/qpid/authorization/sasl.js Mon Oct 5 08:08:12 2015
@@ -49,11 +49,11 @@ var decodeUTF8 = function decodeUTF8(byt
var errorHandler = function errorHandler(error)
{
- if(error.status == 401)
+ if(error.response.status == 401)
{
alert("Authentication Failed");
}
- else if(error.status == 403)
+ else if(error.response.status == 403)
{
alert("Authorization Failed");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org