You are here

function kaltura_generate_cms_password in Kaltura 5

Same name and namespace in other branches
  1. 6.2 includes/kaltura.admin.inc \kaltura_generate_cms_password()
  2. 6 includes/kaltura.admin.inc \kaltura_generate_cms_password()
  3. 7.3 includes/kaltura.admin.inc \kaltura_generate_cms_password()
  4. 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 885

Code

function kaltura_generate_cms_password() {
  $pass = '';
  $pass = md5(time() . $_SERVER['REMOTE_ADDR']);
  $pass = drupal_substr($pass, 0, 8);
  return $pass;
}