From: hickert Date: Mon, 12 Oct 2009 08:53:25 +0000 (+0000) Subject: Updated posix ssh key handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=baf32fe395ad078ce7167a22dc3fd03b9acf75dd;p=gosa.git Updated posix ssh key handling -disable prototype while in ssh key dialog git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14578 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc index 967e0d0aa..43219aa6e 100644 --- a/gosa-core/plugins/personal/posix/class_posixAccount.inc +++ b/gosa-core/plugins/personal/posix/class_posixAccount.inc @@ -489,7 +489,8 @@ class posixAccount extends plugin } // Handle ssh dialog? - if ($this->ssh && preg_match('/[rw]/', $this->getacl("sshPublicKey"))) { + if ($this->ssh instanceOf sshPublicKey && preg_match('/[rw]/', $this->getacl("sshPublicKey"))) { + $smarty->assign("usePrototype", "false"); if ($result= $this->ssh->execute()) { $this->dialog= true; return $result;