function deploy_auth_sessid_form in Deploy - Content Staging 6
Implementation of the form callback for the authentication.
1 string reference to 'deploy_auth_sessid_form'
- deploy_deploy_auth_info in ./
deploy.module - Implementation of hook_deploy_auth_info().
File
- ./
deploy.module, line 1168 - Deployment API which enables modules to deploy items between servers.
Code
function deploy_auth_sessid_form($server = array()) {
$form['username'] = array(
'#type' => 'textfield',
'#title' => t('Username'),
'#size' => 30,
'#maxlength' => 60,
'#description' => t('Username on the remote site.'),
'#required' => TRUE,
);
$form['password'] = array(
'#type' => 'password',
'#title' => t('Password'),
'#size' => 20,
'#maxlength' => 32,
'#description' => t('Password of the remote user Deploy should log in as.'),
'#required' => TRUE,
);
return $form;
}