Browse Source

Merge pull request #15863 from abpframework/LogoutController

Remove `AuthenticationProperties` from `LogoutController`.
pull/15864/head
liangshiwei 3 years ago
committed by GitHub
parent
commit
3d0c489448
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/LogoutController.cs

4
modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/LogoutController.cs

@ -20,8 +20,6 @@ public class LogoutController : AbpOpenIdDictControllerBase
// Returning a SignOutResult will ask OpenIddict to redirect the user agent
// to the post_logout_redirect_uri specified by the client application or to
// the RedirectUri specified in the authentication properties if none was set.
return SignOut(
authenticationSchemes: OpenIddictServerAspNetCoreDefaults.AuthenticationScheme,
properties: new AuthenticationProperties {RedirectUri = "/"});
return SignOut(authenticationSchemes: OpenIddictServerAspNetCoreDefaults.AuthenticationScheme);
}
}

Loading…
Cancel
Save