Merge branch 'application-mgt-new' into 'application-mgt-new'

Fix publisher logging issue

See merge request entgra/carbon-device-mgt!186
feature/appm-store/pbac
Dharmakeerthi Lasantha 5 years ago
commit 052859bfb4

@ -80,7 +80,7 @@ class NormalLoginForm extends React.Component {
axios.post(window.location.origin+ config.serverConfig.loginUri, request axios.post(window.location.origin+ config.serverConfig.loginUri, request
).then(res=>{ ).then(res=>{
if (res.status === 200) { if (res.status === 200) {
window.location = window.location.origin+"publisher"; window.location = window.location.origin+"/publisher";
} }
}).catch(function (error) { }).catch(function (error) {
if (error.hasOwnProperty("response") && error.response.status === 400) { if (error.hasOwnProperty("response") && error.response.status === 400) {

Loading…
Cancel
Save