File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ class ChallengeHelper {
119
119
// check groups authorization
120
120
if ( challenge . groups && challenge . groups . length > 0 ) {
121
121
if ( currentUser . isMachine || hasAdminRole ( currentUser ) ) {
122
- await this . validateGroups ( challenge . groups ) ;
122
+ await validateGroups ( challenge . groups ) ;
123
123
} else {
124
124
await helper . ensureAccessibleByGroupsAccess ( currentUser , challenge ) ;
125
125
}
@@ -145,7 +145,7 @@ class ChallengeHelper {
145
145
// check groups access to be updated group values
146
146
if ( data . groups && data . groups . length > 0 ) {
147
147
if ( currentUser . isMachine || hasAdminRole ( currentUser ) ) {
148
- await this . validateGroups ( data . groups ) ;
148
+ await validateGroups ( data . groups ) ;
149
149
} else {
150
150
await ensureAcessibilityToModifiedGroups ( currentUser , data , challenge ) ;
151
151
}
You can’t perform that action at this time.
0 commit comments