forked from I2P_Developers/i2p.i2p
* Console:
- Fix NPE after restart (ticket #763) - Move more nonces out of system properties
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
response.setHeader("X-Frame-Options", "SAMEORIGIN");
|
||||
|
||||
String conNonceParam = request.getParameter("consoleNonce");
|
||||
if (conNonceParam != null && conNonceParam.equals(System.getProperty("router.consoleNonce"))) {
|
||||
if (intl.getNonce().equals(conNonceParam)) {
|
||||
intl.setLang(request.getParameter("lang"));
|
||||
intl.setNews(request.getParameter("news"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user