SproutCMS

This is the code documentation for the SproutCMS project

function injectLocalSuperConf()

Load the existing super-operators list from config, inject another operator, return new array

Usage

array AdminAuth::injectLocalSuperConf ( string $username , string $pass_hash , string $pass_salt );

Arguments

  1. string $username
    The username to add or edit
  2. string $pass_hash
    The password hash, as generated by Auth::hashPassword
  3. string $pass_salt
    The password salt, as generated by Auth::hashPassword

Return value

  • array
    New users array