function kaltura_generate_cms_password in Kaltura 6
Same name and namespace in other branches
- 5 includes/kaltura.admin.inc \kaltura_generate_cms_password()
- 6.2 includes/kaltura.admin.inc \kaltura_generate_cms_password()
- 7.3 includes/kaltura.admin.inc \kaltura_generate_cms_password()
- 7.2 includes/kaltura.admin.inc \kaltura_generate_cms_password()
1 call to kaltura_generate_cms_password()
- kaltura_settings_form in includes/
kaltura.admin.inc
File
- includes/
kaltura.admin.inc, line 914
Code
function kaltura_generate_cms_password() {
$pass = '';
$pass = md5(time() . $_SERVER['REMOTE_ADDR']);
$pass = drupal_substr($pass, 0, 8);
return $pass;
}