Browse Source

Remove `AuthenticationProperties` from `LogoutController`.

pull/15863/head
maliming 3 years ago
parent
commit
4d78080c26
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  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