MCPcopy Create free account
hub / github.com/documentdb/documentdb / IsPasswordValid

Function IsPasswordValid

pg_documentdb/src/api_hooks.c:329–337  ·  view source on GitHub ↗

* Default password validation implementation, just returns true */

Source from the content-addressed store, hash-verified

327 * Default password validation implementation, just returns true
328 */
329bool
330IsPasswordValid(const char *username, const char *password)
331{
332 if (password_validation_hook != NULL)
333 {
334 return password_validation_hook(username, password);
335 }
336 return true;
337}
338
339
340/*

Callers 2

ParseCreateUserSpecFunction · 0.85
UpdateNativeUserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected