Vorbereitungen SSH Login
This commit is contained in:
@@ -81,4 +81,3 @@ if (isset($_COOKIE['debug'], $_GET['s']) && $_COOKIE['debug'] == 'debug_mode')
|
||||
|
||||
if (!isset($doNotCheckForAuthentification))
|
||||
(include LIBRARY_PATH.'main/authentification.php') or die('Nicht gefunden!');
|
||||
?>
|
||||
|
||||
@@ -827,8 +827,7 @@ class PiTpl
|
||||
if ($this->tplSSH === NULL)
|
||||
if (self::loadSSH() !== true) {
|
||||
if ($cancelIfError !== 0)
|
||||
self::error(_t('SSH-Zugriffsfehler'), _t('Kein SSH-Zugriff, diese Funktion steht aktuell nicht zur Verfügung!'), ($cancelIfError === 1) ? true : false);
|
||||
#self::error(_t('SSH-Zugriffsfehler'), _t('Kein SSH-Zugriff, bitte anmelden! <a href="%s">Jetzt anmelden.</a>', '?s=ssh_login'), ($cancelIfError === 1) ? true : false);
|
||||
self::error(_t('SSH-Zugriffsfehler'), _t('Kein SSH-Zugriff, bitte anmelden! <a href="%s">Jetzt anmelden.</a>', '?s=ssh_login'), ($cancelIfError === 1) ? true : false);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user