/*
- * Sone - UntrustAjaxPage.java - Copyright © 2011–2013 David Roden
+ * Sone - UntrustAjaxPage.java - Copyright © 2011–2016 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*/
@Override
protected JsonReturnObject createJsonObject(FreenetRequest request) {
- Sone currentSone = getCurrentSone(request.getToadletContext(), false);
+ Sone currentSone = getCurrentSoneWithoutCreatingSession(request.getToadletContext());
if (currentSone == null) {
return createErrorJsonObject("auth-required");
}