mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-09 00:43:23 +01: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("fullName", (user != null ? user.getFullName() : "'anonymous'"));
|
||||||
model.put("email", (user != null ? user.getEmail() : "'anonymous'"));
|
model.put("email", (user != null ? user.getEmail() : "'anonymous'"));
|
||||||
model.put("userAgent", request.getHeader(UserAgent.USER_AGENT_HEADER));
|
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("requestURI", request.getRequestURI());
|
||||||
|
model.put("method", request.getMethod());
|
||||||
model.put("remoteAddress", request.getRemoteAddr());
|
model.put("remoteAddress", request.getRemoteAddr());
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
@ -5,8 +5,10 @@
|
|||||||
<li>Email: ${email}</li>
|
<li>Email: ${email}</li>
|
||||||
<li>Server: ${server}</li>
|
<li>Server: ${server}</li>
|
||||||
<li>RequestURI: ${requestURI}</li>
|
<li>RequestURI: ${requestURI}</li>
|
||||||
|
<li>Method: ${method}</li>
|
||||||
<li>User Agent: ${userAgent}</li>
|
<li>User Agent: ${userAgent}</li>
|
||||||
<li>remoteAddress: ${remoteAddress}</li>
|
<li>Remote Address: ${remoteAddress}</li>
|
||||||
|
|
||||||
|
|
||||||
#if($mapId)
|
#if($mapId)
|
||||||
<li>Mindmap Id: ${mapId}</li>
|
<li>Mindmap Id: ${mapId}</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user