File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
libs/perun/services/src/lib Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,18 @@ export class MfaHandlerService {
44
44
configVerify . width = '450px' ;
45
45
configVerify . data = {
46
46
mfaRoleException :
47
- mfaExceptionType === ( 'MfaRolePrivilegeException' || 'MfaRoleTimeoutException' ) ,
47
+ mfaExceptionType === 'MfaRolePrivilegeException' ||
48
+ mfaExceptionType === 'MfaRoleTimeoutException' ,
48
49
} ;
49
50
const dialogVerifyRef = this . dialog . open ( MfaRequiredDialogComponent , configVerify ) ;
50
51
let verificationSkipped = false ;
51
52
52
53
dialogVerifyRef . afterClosed ( ) . subscribe ( ( result ) => {
53
54
if ( result ) {
54
- if ( mfaExceptionType === ( 'MfaTimeoutException' || 'MfaRoleTimeoutException' ) ) {
55
+ if (
56
+ mfaExceptionType === 'MfaTimeoutException' ||
57
+ mfaExceptionType === 'MfaRoleTimeoutException'
58
+ ) {
55
59
localStorage . setItem ( 'mfaTimeout' , 'true' ) ;
56
60
}
57
61
You can’t perform that action at this time.
0 commit comments