Commit bce46572 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

[-bug] Error messages may be duplicated when login is needed.

parent da327994
......@@ -2242,9 +2242,10 @@ sub check_action_parameters {
Sympa::WWW::Report::reject_report_web('user',
'authorization_reject', {}, $param->{'action'},
'');
} else {
Sympa::WWW::Report::reject_report_web('user',
'no_user', {}, $action);
}
Sympa::WWW::Report::reject_report_web('user', 'no_user', {},
$action);
wwslog('err', 'User not logged in');
web_db_log(
{ 'status' => 'error',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment