Skip to content

kavuri/sailsjs-visualcaptcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sailsjs-visualcaptcha

Visual captcha in sailsjs

The sailsjs setup for visualcaptcha (http://visualcaptcha.net/) following the instructions provided here (https://github.com/emotionLoop/visualCaptcha-node)

Basically it involves creating the routes mentioned in the above link and setting the directory structures and configuration accordingly.

  • Create a controller (sails generate api Visualcaptcha). Delete the model generated
  • Create the routes in api/controller/VisualcaptchaController.js
  • Use your favourite frontend package to connect to the server

One change I had to do in the boiler plate code was to change 'index' to 'id' in the 'image' route (ref: desirepath41/visualCaptcha-node#2)

About

Visual captcha in sailsjs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published