Thejesh GN avatar Thejesh GN committed 7940c1f

added notes to demo.py

Comments (0)

Files changed (1)

 def dummyDB():
 	return [{"user":"thej","password":"notsafe", "otp_seed":"KKK67SDNLXIOG65U"},{"user":"ram","password":"yeahokay", "otp_seed":""}]
 
+print """To test please access the following url and \n
+	scan the QR code into your Google Authenicator App.\n 
+	Now your 2f setup for as user thej is complete. \n
+	Use this for OTP while loginng in as thej.\n
+	This URL is only for the eyes of user thej.\n
+	This uses otp_seed which is generated when use was created and is unique to user.\n
+	URL = """+ pyg2fa.qrCodeURL("http://g2fa-example.com", "KKK67SDNLXIOG65U")+"\n\n\n"
+
 run(host='localhost', port=8080, debug=True)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.