Source code taken from cacert-20130227.tar.bz2
[cacert.git] / includes / account.php
index 8125602..496c7ca 100644 (file)
                                                `created`=FROM_UNIXTIME(UNIX_TIMESTAMP()),
                                                `subject`='".mysql_real_escape_string($csrsubject)."',
                                                `codesign`='".$_SESSION['_config']['codesign']."',
+                                               `disablelogin`='".($_SESSION['_config']['disablelogin']?1:0)."',
                                                `rootcert`='".$_SESSION['_config']['rootcert']."'";
                        mysql_query($query);
                        $emailid = mysql_insert_id();