Git Product home page Git Product logo

codeigniter-bitauth's Introduction

#BitAuth

##Requirements

  • PHP 5.1.6+, 5.3+ recommended
  • CodeIgniter 2.0+
  • MySQL
  • php-gmp

##Features

  • Phpass Integration: BitAuth uses phpass to handle password hashing
  • Password complexity rules: Along with minimum and maximum length, specify the required number of:
    • Uppercase Characters
    • Numbers
    • Special Characters
    • Spaces
    • ... Or, add your own
  • Password aging: Require your users to change their passwords at a set interval
  • Completely custom userdata: Easily customize BitAuth to include any custom you want. Full name, Nickname, Phone number, Favorite color... You name it!
  • Groups and Roles: Create groups, and assign users to your groups. Your roles are set on a group, not a user, so changing roles, whether the scale is large or small, is fast and painless.
  • Text-based roles: Simply list your roles in the configuration file, then check against them in your code. BitAuth handles everything in between.

##Download https://github.com/danmontgomery/codeigniter-bitauth/tarball/v0.2.1

##Installation Copy the included files to their appropriate locations in the application/ folder. Import bitauth.sql into your database. If you would like to change the names of the tables BitAuth uses, you can change them in this .sql file, and must also change them in config/bitauth.php.

##Updating If updating from v0.1.x, there is a convert() function in the Example controller. This will modify the structure of your groups table, as well as convert any roles you have stored to the new format. This function uses base_convert(), which means results may vary depending on the machine you're running this on. After upgrading, be sure to check the roles in your groups for accuracy.

##Notes As of v0.2.0, php-gmp is no longer used. The structure of the bitauth_groups table has changed, as well.

The default login is admin/admin.

I highly recommend you not use the default cookie session... Try my driver replacement for CI's session library (end of shameless self promotion).

Currently, only MySQL is supported. This may change in the future. Or not. We'll see.

codeigniter-bitauth's People

Contributors

danmontgomery avatar shealan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.