setting password without cleartext

Discussion in 'Developers' Forum' started by ispcomm, Nov 12, 2013.

  1. ispcomm

    ispcomm Member


    I have some very old passwords for mail accounts that were encrypted and for which I don't have the cleartext.

    I need to migrate them into ispconfig using the remoting api.

    If I set the password, how do I tell the api that it does not need to be encrypted once more?

    If there is no way, can I inject the crypted passwords with the standard sql commands from the remoting api?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Pass this variable as part of the $params array:

    $params['_ispconfig_pw_crypted'] = 1

Share This Page