Skip to content

apostrophecms/apostrophe-login-recaptcha

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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