Support » Plugins and Hacks » External Database Authentication Reloaded » Password using MySQL password() function

  • Resolved roberthuttinger

    (@roberthuttinger)


    So you have cleverly added support for various versions of crypt, however what if the db we wish to auth against is using MySQLs native password() function (I know it is not best practice by ANY stretch).

    Is there a way to set crypt to ‘non’ and perform a custom function? I believe MySQL currently performs SHA1 twice, then converts the string to a HEX string.

    Ideas? Workarounds?

    http://wordpress.org/plugins/external-db-auth-reloaded/

Viewing 1 replies (of 1 total)
  • aha, it seems on line 415 I can set my own function! disregard previous question!

    case "Other" :             //right now defaulting to plaintext.  People can change code here for their own special hash
                eval(get_option('pp_db_other_enc'));
                break;
Viewing 1 replies (of 1 total)
  • The topic ‘Password using MySQL password() function’ is closed to new replies.