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.

Ion Auth - Lightweight Auth System based on Redux Auth 2

February 10, 2010 7:00pm

Subscribe [287]
  • #1321 / Mar 17, 2014 10:12am

    EyeAmN8

    18 posts

    I would try two things first.
    See if you can use bcrypt to assign a value to a var, then output it to the browser or write it to a file. Pretty much just test bcrypt out on its own by trying to produce a value from it. If you can do that then bcrypt is ok on your server.
    The other thing I would try is to run it with sha1 instead of bcrypt. Again just another test to see if the problem is directly related to bcrypt or not.

  • #1322 / Mar 20, 2014 12:21am

    Kenqr

    3 posts

    Thanks for your advice.
    After some tests, it turns out that the problem is related with bcrypt.
    As mentioned in: http://tw1.php.net/manual/en/function.crypt.php

    Versions of PHP before 5.3.7 only support “$2a$” as the salt prefix

    But getSalt() in Bcrypt.php uses $2y$ as salt prefix.
    Changing the prefix to $2a$ may fix the problem (not tested, though)

  • #1323 / May 05, 2014 5:11am

    waqas amad

    2 posts

    with help of this topic , i just want to understand “trigger_events” in functions like register, forgotten_password etc.

    i have test these fumnctions but no hooks is set during execution of these system .
    does “trigger_events” on call those that we will set using set_hooks function ? or it create hooks dynamically ?

    $this->trigger_events(array(‘post_forgotten_password’, ‘post_forgotten_password_unsuccessful’));
    will you please elaborate above live , what actually it does.

    will you please elaborate about the usage of trigger_events instead of native code igniter hooks functions?


    thanks in advance

     

  • #1324 / May 16, 2014 1:42am

    Patroklo

    18 posts

    sorry, I’m trying to understand what you want to say, but can’t understand if you have problems setting the hooks or calling them… sorry

  • #1325 / Jul 13, 2014 5:37am

    Kenqr

    3 posts

    Hello,

    I recently found two identical users in DB.
    Every data columns have same values (including ‘created_on’) except password and last_login.

    My guess is the user accidentally clicked on ‘Register’ twice very quickly, with the second attempt to register fired before the first attempt has completed, resulting in both attempt succeeded.

    Is this situation even possible to happen, or there are some other reason to cause this?

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

ExpressionEngine News!

#eecms, #events, #releases