added missing TODO comment
This commit is contained in:
@ -60,7 +60,7 @@ public class LoginView implements Serializable {
|
|||||||
|
|
||||||
// redirect to home
|
// redirect to home
|
||||||
ExternalContext ec = FacesContext.getCurrentInstance().getExternalContext();
|
ExternalContext ec = FacesContext.getCurrentInstance().getExternalContext();
|
||||||
String fallbackUrl = "/web/index.xhtml";
|
String fallbackUrl = "/web/index.xhtml"; // TODO make configurable
|
||||||
// ec.redirect(url);
|
// ec.redirect(url);
|
||||||
WebUtils.redirectToSavedRequest((ServletRequest) ec.getRequest(), (ServletResponse) ec.getResponse(), fallbackUrl);
|
WebUtils.redirectToSavedRequest((ServletRequest) ec.getRequest(), (ServletResponse) ec.getResponse(), fallbackUrl);
|
||||||
} catch (IOException | AuthenticationException e) {
|
} catch (IOException | AuthenticationException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user