equal
deleted
inserted
replaced
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 { |