summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2013-10-30 02:57:41 +0100
committerMichael Tänzer <neo@nhng.de>2013-10-30 02:57:41 +0100
commit68ce9e7bc7789dfa174ae9e28b12f08d24abc377 (patch)
treea29b1992afd6f25dec9d1153877c0c8f94cb4db5
parente148d16334e59ad94dc03d20b7a99def75441f6e (diff)
downloadcacert-devel-68ce9e7bc7789dfa174ae9e28b12f08d24abc377.tar.gz
cacert-devel-68ce9e7bc7789dfa174ae9e28b12f08d24abc377.tar.xz
cacert-devel-68ce9e7bc7789dfa174ae9e28b12f08d24abc377.zip
bug 1010: Also carry over the OU when renewing the certificate
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r--includes/account.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/account.php b/includes/account.php
index 8ba6af0..ff9da77 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -1719,6 +1719,7 @@
$query = "insert into `orgemailcerts` set
`orgid`='".$row['orgid']."',
`CN`='".$row['CN']."',
+ `ou`='".$row['ou']."',
`subject`='".$row['subject']."',
`keytype`='".$row['keytype']."',
`csr_name`='".$row['csr_name']."',