User password minimum length

Customize password length requirements via hooks – override the default 7-character minimum to enforce stronger (or simpler) security policies.

<?php
function my_component_init(){
		ossn_add_hook('user', 'password:minimum:length', 'my_component_hook');
}
function my_component_hook($hook, $type, $return, $params){
		return 10;
}
ossn_register_callback('ossn', 'init', 'my_component_init');