WordPress.org

Forums

External Database Authentication Reloaded
[resolved] Password using MySQL password() function (2 posts)

  1. roberthuttinger
    Member
    Posted 1 year ago #

    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/

  2. roberthuttinger
    Member
    Posted 1 year ago #

    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;

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • External Database Authentication Reloaded
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic