function hook_validate_user_name in Friendly Register 7
Allows you to provide your own validation routines for the user name.
Parameters
string $username:
Return value
bool
1 invocation of hook_validate_user_name()
- friendly_register_check_user in ./
friendly_register.module - JSON callback to check the username.
File
- ./
friendly_register.api.php, line 32 - Hooks provided by the friendly_register module.
Code
function hook_validate_user_name($username) {
return TRUE;
}