The source project of this merge request has been removed.
See #4622 (closed)
May password or ssh_rsa-field check is not needed (following code), but otherwise users could bypass settings.
$system_config = $app->getconf->get_global_config();
if($system_config['misc']['ssh_authentication'] == 'password') {
$this->dataRecord['ssh_rsa'] = null;
}
if($system_config['misc']['ssh_authentication'] == 'key') {
$this->dataRecord['password'] = null;
$this->dataRecord['repeat_password'] = null;
}
PS: I just added german and english translations.