ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

codeigniter-user auth library v. 1.4

February 07, 2014 4:21pm

Subscribe [3]
  • #1 / Feb 07, 2014 4:21pm

    Hey!

    I’m releasing a new version of codeigniter-user auth library 1.4 version. It uses Bcrypt, high level security encrypt hash function, among other facilities.
    Features includes adding users, removing users, protecting controllers and methods from not logged viewers and much more.

    This version includes support for custom data fields individually for storing user data such as address, country, etc.

    You can check it out on github!
    https://github.com/waldirbertazzijr/codeigniter-user


    Best regards,
    Waldir

  • #2 / Mar 16, 2014 3:53pm

    denis.martin

    2 posts

    Hi,
    I’ve downloaded and installed codeigniter-user following the readme.md file. But when I tried to see the index.php/login page, I got this error :

    An Error Was Encountered
    Bcrypt is not installed or is not supported in this system. You can read more about bcrypt support here.

    The Bcrypt.php file is copied in the libraries/ folder

    Beside that, the views/login.php file is the same as the controllers/login.php (a controller), is that normal ?

    Hoping to set it to work with your help !

    Thanks

    Edit : might not be the best place to ask for it, should I create a topic ?

  • #3 / Mar 30, 2014 2:13pm

    denis.martin

    2 posts

    UP

    No answer ?

  • #4 / Apr 24, 2014 2:44am

    Jan_1

    129 posts

    Same problem….

    if(CRYPT_BLOWFISH != 1) {
       show_error('Bcrypt is not installed or is not supported in this system. You can read more about bcrypt support <a href="http://php.net/crypt">here</a>.');
      }

    But it seems, it is supported. Does anyone know a good ressource how to deal with it on the server?

  • #5 / May 14, 2014 1:50pm

    Hi,
    Sorry for the late answer.

    @Jan_1
    That is the old way of dealing with bcrypt availability.
    Most PHP installations come with bcrypt already installed. So you can remove that if statement and check if it works.
    Actually, this library is pretty old (it was writen 3 years ago) when bcrypt installations weren’t common.

    In PHP version >= 5.5.0 there is the password_hash function which is actually a better way to hash passwords. For compatibility purposes I’ll still use this library until version 5.5 is more popular.


    @denis.martin
    That was a mistake I made when committing, sorry. The commited version is fixed.


    Thanks and again sorry for the late answer!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases