File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/eSignature/controllers Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ const dsPingUrl = dsConfig.appUrl + '/'; // Url that will be pinged by the DocuS
2727 // Step 1. Check the token
2828 // At this point we should have a good token. But we
2929 // double-check here to enable a better UX to the user.
30- const tokenOK = req . dsAuth . checkToken ( minimumBufferMin ) ;
31- if ( ! tokenOK ) {
30+ const isTokenOK = req . dsAuth . checkToken ( minimumBufferMin ) ;
31+ if ( ! isTokenOK ) {
3232 req . flash ( 'info' , 'Sorry, you need to re-authenticate.' ) ;
3333 // Save the current operation so it will be resumed after authentication
3434 req . dsAuth . setEg ( req , eg ) ;
@@ -79,8 +79,8 @@ eg038ResponsiveSigning.getController = (req, res) => {
7979 // Check that the authentication token is ok with a long buffer time.
8080 // If needed, now is the best time to ask the user to authenticate
8181 // since they have not yet entered any information into the form.
82- const tokenOK = req . dsAuth . checkToken ( ) ;
83- if ( tokenOK ) {
82+ const isTokenOK = req . dsAuth . checkToken ( ) ;
83+ if ( isTokenOK ) {
8484 sourceFile = ( path . basename ( __filename ) ) [ 5 ] . toLowerCase ( ) + ( path . basename ( __filename ) ) . substr ( 6 ) ;
8585 res . render ( 'pages/examples/eg038ResponsiveSigning' , {
8686 eg : eg , csrfToken : req . csrfToken ( ) ,
You can’t perform that action at this time.
0 commit comments