Skip to content

Commit

Permalink
Item8411: FORMDATA not expanded in verification
Browse files Browse the repository at this point in the history
Possible future enhancement to Register.pm

git-svn-id: http://svn.foswiki.org/trunk@9466 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Oct 2, 2010
1 parent eff38a9 commit 9c78a73
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions TopicUserMappingContrib/data/System/ManagingUsers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -181,21 +181,19 @@ This email message will be sent to the address responsible for approving registr
<verbatim class="tml">
%{ This is a default template }%From: %WIKIWEBMASTERNAME% <%WIKIWEBMASTER%>
To: %REGISTRATIONAPPROVAL% <%REGISTRATIONAPPROVALEMAIL%>
CC: %WIKIWEBMASTER%
CC: %WIKIWEBMASTERNAME% <%WIKIWEBMASTER%>
Subject: Registration request by %FIRSTLASTNAME% <%EMAILADDRESS%>
MIME-Version: 1.0
Content-Type: text/plain; charset=%CHARSET%
Content-Transfer-Encoding: 8bit

Registration request by %FIRSTLASTNAME% <%EMAILADDRESS%> for %WIKITOOLNAME% needs your approval.
Registration request by %FIRSTLASTNAME% <%EMAILADDRESS%> for %WIKITOOLNAME%
needs your approval.
Verification code %VERIFICATIONCODE%

%SCRIPTURL{"register"}%?action=verify;code=%VERIFICATIONCODE%

%MAKETEXT{"Submitted content:"}%

%FORMDATA%
</verbatim>
<blockquote class="foswikiHelp"> %T% *Note* The line following the =Content-Transfer= *must* be completely empty, with no spaces, or the email wil fail.</blockquote>

---+++!! Registration response message =templates/messages.approval.tmpl=

Expand Down Expand Up @@ -227,6 +225,7 @@ succeeded.
To: %WIKIWEBMASTERNAME% <%WIKIWEBMASTER%>
Cc: %REGISTRATIONAPPROVAL% <%REGISTRATIONAPPROVALEMAIL%>
Subject: %MAKETEXT{"[_1] - Registration for [_2] ([_3])" args="%WIKITOOLNAME%, %WIKINAME%, %EMAILADDRESS%"}%

MIME-Version: 1.0
Content-Type: text/plain; charset=%CHARSET%
Content-Transfer-Encoding: 8bit
Expand Down

0 comments on commit 9c78a73

Please sign in to comment.