You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed the cf-google-authenticator on our win2k12 x64 cf9 server.
I received following error message after clicking "Generate" on sample/sample_generate.cfm:
Invalid CFML construct found on line 126 at column 80.
ColdFusion was looking at the following text:
[
The CFML compiler was processing:
A script statement beginning with public on line 126, column 5.
The error occurred in D:\PATH\authenticator\authenticator\GoogleAuthenticator.cfc: line 126
125 :
126 : public string function generateKey (required string password, array salt = [])
127 : {
128 : if (arrayLen(salt) == 0)
Resources:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36
Remote Address 1.2.3.4
Referrer http://URL.org/authenticator/sample/sample_generate.cfm
Date/Time 31-Jul-16 03:47 PM
Stack Trace
at cfsample_generate2ecfm178615731.runPage(D:\PATH\authenticator\sample\sample_generate.cfm:26)
coldfusion.compiler.ParseException: Invalid CFML construct found on line 126 at column 80.
I changed following in authenticator\GoogleAuthenticator.cfc:
124 : force_empty_salt = [];
125 :
126 : public string function generateKey (required string password, array salt = force_empty_salt)
And voilà, i received the QR code.
The text was updated successfully, but these errors were encountered:
Hi all,
I have installed the cf-google-authenticator on our win2k12 x64 cf9 server.
I received following error message after clicking "Generate" on sample/sample_generate.cfm:
I changed following in authenticator\GoogleAuthenticator.cfc:
And voilà, i received the QR code.
The text was updated successfully, but these errors were encountered: