Skip to content

Commit

Permalink
#3011 - RoleManager was using wrong property name to check for PKI au…
Browse files Browse the repository at this point in the history
…thentication
  • Loading branch information
rmmayo committed Nov 27, 2024
1 parent cdbb686 commit 624a12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/src/components/access/RoleManager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ function doAddUserRole() {
}
}
const addQuizUserRole = (role) => {
const userIdParam = appConfig.pkiAuthenticated ? selectedUser.value.dn : selectedUser.value.userId
const userIdParam = appConfig.isPkiAuthenticated ? selectedUser.value.dn : selectedUser.value.userId
QuizService.addQuizAdmin(props.quizId, userIdParam).then(() => {
completeAddRole(role)
}).catch((e) => {
Expand Down

0 comments on commit 624a12f

Please sign in to comment.