Skip to content

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

Notifications You must be signed in to change notification settings

apostrophecms/apostrophe-login-recaptcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published