Fix mailto link on top right
This commit is contained in:
parent
96ec99e65a
commit
5241af57cc
@ -48,6 +48,9 @@ public class Start {
|
||||
model.addObject("role", role);
|
||||
model.addObject("user", user);
|
||||
|
||||
String contactEmail = request.getServletContext().getInitParameter("email");
|
||||
model.addObject("contactEmail", contactEmail);
|
||||
|
||||
// if everything ok then go to webgoat UI
|
||||
model.setViewName("main_new");
|
||||
return model;
|
||||
|
@ -91,7 +91,7 @@
|
||||
<button type="button" class="btn btn-default right_nav_button" ng-click="showAbout()" data-toggle="tooltip" title="About WebGoat">
|
||||
<i class="fa fa-info"></i>
|
||||
</button>
|
||||
<a href="mailto:someone@example.com?Subject=Hello%20again" target="_top">
|
||||
<a href="mailto:${contactEmail}?Subject=Webgoat%20feedback" target="_top">
|
||||
<button type="button" class="btn btn-default right_nav_button"data-toggle="tooltip" title="Contact Us">
|
||||
<i class="fa fa-envelope"></i>
|
||||
</button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user