Fix publisher logging issue

feature/appm-store/pbac
lasanthaDLPDS 6 years ago committed by Jayasanka
parent 9289bbcbe9
commit ff1fe51b01

@ -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