File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 69
69
cbSecurity : {
70
70
// Global Relocation when an invalid access is detected, instead of each rule declaring one.
71
71
" invalidAuthenticationEvent" : " main.index" ,
72
+ // Default invalid action: override or redirect when an invalid access is detected, default is to redirect
73
+ " defaultAuthenticationAction" : " redirect" ,
72
74
// Global override event when an invalid access is detected, instead of each rule declaring one.
73
75
" invalidAuthorizationEvent" : " main.index" ,
74
76
// Default invalid action: override or redirect when an invalid access is detected, default is to redirect
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ component
39
39
beforeEach ( function (currentSpec ){
40
40
// Setup as a new ColdBox request for this suite, VERY IMPORTANT. ELSE EVERYTHING LOOKS LIKE THE SAME REQUEST.
41
41
setup ();
42
+ cbauth = getInstance ( " authenticationService@cbauth" );
43
+ cbauth .logout ();
42
44
} );
43
45
44
46
You can’t perform that action at this time.
0 commit comments