register() public method

{@inheritDoc}
public register ( array $credentials, $activate = false )
$credentials array
Example #1
0
 /**
  * Registers a user by giving the required credentials
  * and an optional flag for whether to activate the user.
  *
  * @param array $credentials
  * @param bool $activate
  * @return \October\Rain\Auth\User 
  * @static 
  */
 public static function register($credentials, $activate = false)
 {
     //Method inherited from \October\Rain\Auth\Manager
     return \RainLab\User\Classes\AuthManager::register($credentials, $activate);
 }