mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
package refactoring
This commit is contained in:
11
src/main/java/com/commafeed/frontend/pages/LogoutPage.java
Normal file
11
src/main/java/com/commafeed/frontend/pages/LogoutPage.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package com.commafeed.frontend.pages;
|
||||
|
||||
import org.apache.wicket.markup.html.WebPage;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class LogoutPage extends WebPage {
|
||||
public LogoutPage() {
|
||||
getSession().invalidate();
|
||||
setResponsePage(getApplication().getHomePage());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user