Skip to content
Security Module with User/ORM, Social Login, & Sign-up
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
aspects
assets
handlers
interceptors
models
views/login
.gitattributes
.gitignore
ModuleConfig.cfc
README.md
box.json

README.md

ColdBox 4 Security Module

This security module includes User/ORM, Social Login, & Sign-up form.

Setup & Installation

box install nsg-module-security

  1. Create a datasource and import the /setup/setup.sql into your locate database for quick setup.
  2. Drop the models in /setup/models/*.cfc into your primary model folder.
  3. Next add the AOP decorator "secure" to any handler or action to enforce security.

####Example Handler

component {
    public function index(event,rc,prc) secure {
        // handler code
    }
}

####Add the following structure to Coldbox.cfc

nsgSecurity = {
    allowAccountCreation        = true,
    maxLoginFailureAttempts     = 5
},
You can’t perform that action at this time.