[UI] Fix for the login url with nested redirect parameters (#12356)

This commit is contained in:
Suresh Kumar Anaparti 2026-01-12 12:11:45 +05:30 committed by GitHub
parent 04875f1517
commit 2399edd380
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ const err = (error) => {
if (response.config && response.config.params && ['forgotPassword', 'listIdps', 'cloudianIsEnabled'].includes(response.config.params.command)) { if (response.config && response.config.params && ['forgotPassword', 'listIdps', 'cloudianIsEnabled'].includes(response.config.params.command)) {
return return
} }
const originalPath = router.currentRoute.value.fullPath const originalPath = router.currentRoute.value.path
for (const key in response.data) { for (const key in response.data) {
if (key.includes('response')) { if (key.includes('response')) {
if (response.data[key].errortext.includes('not available for user')) { if (response.data[key].errortext.includes('not available for user')) {