ensure regmod redirects to itself after login

pull/1/head
Mike Macgirvin 12 years ago
parent 948cb29302
commit 006ca54f92
  1. 2
      mod/regmod.php

@ -4,6 +4,8 @@
function regmod_content(&$a) {
$_SESSION['return_url'] = $a->cmd;
if(! local_user()) {
notice( t('Please login.') . EOL);
$o .= '<br /><br />' . login(($a->config['register_policy'] == REGISTER_CLOSED) ? 0 : 1);

Loading…
Cancel
Save