Skip to content

apostrophecms-legacy/apostrophe-login-recaptcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⛔️ DEPRECATED — do not use for new projects

See our current docs

apostrophe-login-recaptcha

Usage

const apos = require('apostrophe')({
  modules: {
    'apostrophe-login-recaptcha': {
      recaptchaSite: 'site-key-from-recaptcha',
      recaptchaSecret: 'site-secret-from-recaptcha'
    }
  }
});

Benefits

The login page will always display a reCAPTCHA prompt, requiring the user to prove they are human before logging in.

Warnings

If you have extensively overridden the login.html template in your project in the past, this module will make a good faith attempt to figure it out. However, if it does not work, you may need to add a data-apos-login-form attribute to the form and a data-apos-login-submit-button attribute to the submit button. Future overrides will likely include these since they are now in the loginBase.html template of Apostorphe.

About

Attempt to prove users are human before allowing local login to apostrophe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors