Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
b0a28123
Commit
b0a28123
authored
Sep 08, 2017
by
IKEDA Soji
Browse files
[bug] Authorizing move_user function causes crash.
parent
a0c198cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/Request.pm
View file @
b0a28123
...
...
@@ -43,7 +43,7 @@ my %attrmap = (
gecos
=>
'
X-Sympa-Display-Name
',
sender
=>
'
X-Sympa-Sender
',
);
my
@optattrs
=
qw(arc reception visibility)
;
my
@optattrs
=
qw(arc
current_email
reception visibility)
;
sub
new
{
my
$class
=
shift
;
...
...
src/lib/Sympa/Spindle/AuthorizeRequest.pm
View file @
b0a28123
...
...
@@ -119,7 +119,8 @@ sub _twist {
$request
->
{
quiet
}
||=
(
$action
=~
/,\s*quiet\b/i
);
# Overwrite.
$request
->
{
notify
}
=
(
$action
=~
/,\s*notify\b/i
);
return
['
Sympa::Spindle::DispatchRequest
'];
}
elsif
(
$action
=~
/\Arequest_auth\b(?:\s*[[]\s*(\S+)\s*[]])?/i
)
{
}
elsif
(
$action
=~
/\Arequest_auth\b(?:\s*[(]\s*[[]\s*(\S+)\s*[]]\s*[)])?/i
)
{
my
$to
=
$
1
;
if
(
$to
and
$to
eq
'
email
')
{
$request
->
{
sender_to_confirm
}
=
$request
->
{
email
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment