* Default username validation implementation * Returns true if username is valid, false otherwise */
| 342 | * Returns true if username is valid, false otherwise |
| 343 | */ |
| 344 | bool |
| 345 | IsUsernameValid(const char *username) |
| 346 | { |
| 347 | if (username_validation_hook != NULL) |
| 348 | { |
| 349 | return username_validation_hook(username); |
| 350 | } |
| 351 | |
| 352 | return true; |
| 353 | } |
| 354 | |
| 355 | |
| 356 | void |
no outgoing calls
no test coverage detected