public FubuContinuation Execute(FormsLoginRequest request) { if(_verifier.Verify(request.Username, request.Password)) { //home url var homeUrl = _urls.UrlFor(PassportConfiguration.HomeInputModel); return FubuContinuation.RedirectTo(homeUrl); } //something like that? return FubuContinuation.RedirectTo(PassportConfiguration.LogonRouteInputModel); }
public FubuContinuation Execute(FormsLoginRequest request) { if (_verifier.Verify(request.Username, request.Password)) { //home url var homeUrl = _urls.UrlFor(PassportConfiguration.HomeInputModel); return(FubuContinuation.RedirectTo(homeUrl)); } //something like that? return(FubuContinuation.RedirectTo(PassportConfiguration.LogonRouteInputModel)); }