mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix publisher logging issue
This commit is contained in:
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…
Reference in New Issue
Block a user