We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 353eddc + c6d51fc commit d119017Copy full SHA for d119017
models/Component.cfc
@@ -94,9 +94,9 @@ component output="true" accessors="true" {
94
/*
95
Inject cbSecurity if installed and active
96
*/
97
- if( _wirebox.getInstance( "coldbox:moduleService" ).isModuleActive( 'cbSecurity' ) ){
98
- variables._cbSecurity = _wirebox.getInstance("@cbsecurity");
99
- variables._cbSecurityEnabled = true
+ if( application.cbcontroller.getWireBox().getInstance( "coldbox:moduleService" ).isModuleActive( 'cbSecurity' ) ){
+ variables._cbSecurity = application.cbcontroller.getWireBox().getInstance("cbsecurity@cbsecurity");
+ variables._cbSecurityEnabled = true;
100
}
101
102
0 commit comments