Gossamer Forum
Home : Products : Others : Gossamer Community :

Auth_Community.pm

Quote Reply
Auth_Community.pm
When a person trying to do something that requires registration on GForum, such as sending a private message to another user, get's bumped to the GComm login screen, the "do=some_command" param in the query string get's snipped.

Here's the code:

Code:
sub do_login {
# -------------------------------------------------------------------
my (@args) = @_;

GT::Plugins->action(STOP);
if ($IN->param('do') eq 'logout') {
return;
}
auth_init();

my $return = $CFG->{cgi_root_url};
$return =~ s|/?$|/gforum.cgi?|;
$IN->delete('guest');
$IN->delete('do');
$return .= $IN->query_string;
my $url = comm_login_url(return_to => $return);
print $IN->redirect($url);

return;
}

Why is this?
Subject Author Views Date
Post Auth_Community.pm Swaylock 2047 Jan 31, 2005, 6:52 PM