Ion auth is an authentication library for Codeigniter framework, easy to use, change or add custom functions to it. To set minimum or maximum password length in codeigniter you have to find the config.php file. These lines do the trick. $config[‘min_password_length’] = 7; $config[‘max_password_length’] = 20;