report failure to generate keys

pull/1/head
Friendika 12 years ago
parent 81636f6f5f
commit 85a6e9634a
  1. 5
      mod/register.php

@ -113,6 +113,11 @@ function register_post(&$a) {
// Get private key
if(empty($res)) {
notice( t('SERIOUS ERROR: Generation of security keys failed.') . EOL);
return;
}
$prvkey = '';
openssl_pkey_export($res, $prvkey);

Loading…
Cancel
Save