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.
1 parent 7c07d69 commit 168d0c1Copy full SHA for 168d0c1
interceptors/Security.cfc
@@ -556,13 +556,9 @@ component accessors="true" extends="coldbox.system.Interceptor" {
556
* @return { allow:boolean, type:string(authentication|authorization)}
557
*/
558
private struct function verifySecuredAnnotation( required securedValue, required event ){
559
- // If no value, then default it to true
560
- if ( !len( arguments.securedValue ) ) {
561
- arguments.securedValue = true;
562
- }
563
564
// Are we securing?
565
- if ( isBoolean( arguments.securedValue ) && !arguments.securedValue ) {
+ if ( len( arguments.securedValue ) && isBoolean( arguments.securedValue ) && !arguments.securedValue ) {
566
return {
567
"allow" : true,
568
"type" : "authentication"
0 commit comments