Add session provider interface
[Sone.git] / src / main / java / net / pterodactylus / sone / web / pages / ImageBrowserPage.java
index 2e53761..c8ee0d0 100644 (file)
@@ -102,7 +102,7 @@ public class ImageBrowserPage extends SoneTemplatePage {
                        templateContext.set("albums", albumPagination.getItems());
                        return;
                }
-               Sone sone = getCurrentSoneWithoutCreatingSession(request.getToadletContext());
+               Sone sone = getCurrentSone(request.getToadletContext(), false);
                templateContext.set("soneRequested", true);
                templateContext.set("sone", sone);
        }