includes/sessions.php
changeset 897 f31c252c52c1
parent 895 d6b095673a47
child 915 91f4da84966f
equal deleted inserted replaced
896:ddecc53004ee 897:f31c252c52c1
  4006          * with "mode" set to "error" and an error string in "error" to send an error back to the client. Any return value other
  4006          * with "mode" set to "error" and an error string in "error" to send an error back to the client. Any return value other
  4007          * than these will be ignored.
  4007          * than these will be ignored.
  4008          * @hook login_process_userdata_json
  4008          * @hook login_process_userdata_json
  4009          */
  4009          */
  4010         
  4010         
  4011         $code = $plugins->setHook('login_process_userdata_json');
  4011         $code = $plugins->setHook('login_process_userdata_json', true);
  4012         foreach ( $code as $cmd )
  4012         foreach ( $code as $cmd )
  4013         {
  4013         {
  4014           $result = eval($cmd);
  4014           $result = eval($cmd);
  4015           if ( $result === true )
  4015           if ( $result === true )
  4016           {
  4016           {