mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-09-12 07:10:07 +02:00
Add more info to notification email.
This commit is contained in:
parent
052494a6a5
commit
b855da47d0
@ -173,8 +173,9 @@ final public class NotificationService {
|
||||
model.put("fullName", (user != null ? user.getFullName() : "'anonymous'"));
|
||||
model.put("email", (user != null ? user.getEmail() : "'anonymous'"));
|
||||
model.put("userAgent", request.getHeader(UserAgent.USER_AGENT_HEADER));
|
||||
model.put("server", request.getScheme() + "://" + request.getServerName() + "/" + request.getServerPort());
|
||||
model.put("server", request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort());
|
||||
model.put("requestURI", request.getRequestURI());
|
||||
model.put("method", request.getMethod());
|
||||
model.put("remoteAddress", request.getRemoteAddr());
|
||||
|
||||
try {
|
||||
|
@ -5,8 +5,10 @@
|
||||
<li>Email: ${email}</li>
|
||||
<li>Server: ${server}</li>
|
||||
<li>RequestURI: ${requestURI}</li>
|
||||
<li>Method: ${method}</li>
|
||||
<li>User Agent: ${userAgent}</li>
|
||||
<li>remoteAddress: ${remoteAddress}</li>
|
||||
<li>Remote Address: ${remoteAddress}</li>
|
||||
|
||||
|
||||
#if($mapId)
|
||||
<li>Mindmap Id: ${mapId}</li>
|
||||
|
Loading…
Reference in New Issue
Block a user