Fix publisher logging issue

feature/appm-store/pbac
lasanthaDLPDS 5 years ago
parent 7951267a69
commit 5847be9a30

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