Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Fix: Submit Role and Organization (#1889)
Browse files Browse the repository at this point in the history
* Fix: Submit Role and Organization

* minimal changes
  • Loading branch information
elsiosanchez authored Jan 29, 2024
1 parent e4cfaac commit 4a57e70
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/views/login/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ export default {
if (!this.isEmptyValue(query)) {
this.loginForm = {
...this.loginForm,
roleUuid: this.clientIdRedirect(query, expr),
organizationUuid: this.organizationIdRedirect(query, expr)
roleId: this.clientIdRedirect(query, expr),
organizationId: this.organizationIdRedirect(query, expr)
}
}
this.$refs.loginForm.validate(valid => {
Expand Down Expand Up @@ -289,11 +289,11 @@ export default {
if (redirect[1] === this.default) {
return
}
return redirect[1]
return redirect[2]
},
organizationIdRedirect(query, expr) {
const redirect = query.split(expr)
return redirect[2]
return redirect[3]
},
svgService(openId) {
const { authorization_uri } = openId
Expand Down

0 comments on commit 4a57e70

Please sign in to comment.