Browse Source
Remove `AuthenticationProperties` from `LogoutController`.
pull/15863/head
maliming
3 years ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
1 additions and
3 deletions
-
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); |
|
|
|
} |
|
|
|
} |
|
|
|
|