File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
ui/src/views/system-setting/authentication/component Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -124,10 +124,10 @@ function getDetail() {
124124 res .data .config .validateUrl = res .data .config .ldpUri
125125 }
126126 form .value = res .data
127- if (! form .value .config .redirectUrl ) {
128- form .value .config .redirectUrl = window .location .origin + window .MaxKB .prefix + ' api/cas'
129- }
130127 }
128+ if (! form .value .config .redirectUrl ) {
129+ form .value .config .redirectUrl = window .location .origin + window .MaxKB .prefix + ' /api/cas'
130+ }
131131 })
132132}
133133
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ function getDetail() {
209209 form .value = res .data
210210 }
211211 if (! form .value .config .redirectUrl ) {
212- form .value .config .redirectUrl = window .location .origin + window .MaxKB .prefix + ' api/oauth2'
212+ form .value .config .redirectUrl = window .location .origin + window .MaxKB .prefix + ' / api/oauth2'
213213 }
214214 })
215215}
Original file line number Diff line number Diff line change @@ -218,10 +218,10 @@ function getDetail() {
218218 ) {
219219 form .value .config .fieldMapping = ' {"username": "preferred_username", "email": "email"}'
220220 }
221- if (! form .value .config .redirectUrl ) {
222- form .value .config .redirectUrl = window .location .origin + window .MaxKB .prefix + ' api/oidc'
223- }
224221 }
222+ if (! form .value .config .redirectUrl ) {
223+ form .value .config .redirectUrl = window .location .origin + window .MaxKB .prefix + ' /api/oidc'
224+ }
225225 })
226226}
227227
You can’t perform that action at this time.
0 commit comments