From baf32fe395ad078ce7167a22dc3fd03b9acf75dd Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 12 Oct 2009 08:53:25 +0000 Subject: [PATCH] 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 --- gosa-core/plugins/personal/posix/class_posixAccount.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.30.2