File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ component extends="coldbox.system.RestHandler" {
32
32
function disabled ( event , rc , prc ){
33
33
var data = " Page Not Found" ;
34
34
35
- if ( getSetting (" environment" ) == " DEVELOPMENT" ){
36
- data = ' isDebugCookieValid defined: ' & debuggerService .isDebugCookieValid () ;
37
- data & = ' , secretKey defined: ' & debuggerService .isSecretKeyDefined () ;
38
- data & = ' , doesCookieMatchesSecretKey: ' & debuggerService .doesCookieMatchesSecretKey () ;
35
+ if ( getSetting ( " environment" ) == " DEVELOPMENT" ) {
36
+ data = " isDebugCookieValid defined: " & debuggerService .isDebugCookieValid ();
37
+ data & = " , secretKey defined: " & debuggerService .isSecretKeyDefined ();
38
+ data & = " , doesCookieMatchesSecretKey: " & debuggerService .doesCookieMatchesSecretKey ();
39
39
40
- data & = ' , debugMode: ' & debuggerService .getDebugMode ();
40
+ data & = " , debugMode: " & debuggerService .getDebugMode ();
41
41
}
42
42
43
43
event .renderData (
Original file line number Diff line number Diff line change @@ -158,13 +158,13 @@ component
158
158
// If there is no cookie, then use default to app setting
159
159
return variables .debugMode ;
160
160
}
161
-
161
+
162
162
/**
163
- * returns boolean if secret key is defined
163
+ * returns boolean if secret key is defined
164
164
* init() will set secret key
165
165
*/
166
166
boolean function isSecretKeyDefined (){
167
- return javacast (' Boolean' , len ( variables .secretKey ));
167
+ return javacast ( " Boolean" , len ( variables .secretKey ) );
168
168
}
169
169
170
170
/**
You can’t perform that action at this time.
0 commit comments