mirror of https://github.com/apache/cloudstack.git
[UI] Fix for the login url with nested redirect parameters (#12356)
This commit is contained in:
parent
04875f1517
commit
2399edd380
|
|
@ -54,7 +54,7 @@ const err = (error) => {
|
|||
if (response.config && response.config.params && ['forgotPassword', 'listIdps', 'cloudianIsEnabled'].includes(response.config.params.command)) {
|
||||
return
|
||||
}
|
||||
const originalPath = router.currentRoute.value.fullPath
|
||||
const originalPath = router.currentRoute.value.path
|
||||
for (const key in response.data) {
|
||||
if (key.includes('response')) {
|
||||
if (response.data[key].errortext.includes('not available for user')) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue