Skip to content

[Bug]: The authentication cookie is not deleted when the cookie expires or is invalid. #6320

@Mostafa-Moafi

Description

@Mostafa-Moafi

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

The authentication cookie is not deleted when the cookie expires or is invalid.

I checked the source code and found this bug in DotNetNukeHttpApplication.cs

there is exist code for deleting cookie but don't work.

app.Request.Cookies.Remove(FormsAuthentication.FormsCookieName);

I will solve it soon.

Steps to reproduce?

  1. before login set a manual cookie with DOTNETNUKE key
  2. refresh the page

Current Behavior

No response

Expected Behavior

No response

Relevant log output

Anything else?

No response

Affected Versions

9.13.7 (alpha), 9.13.6 (latest release)

What browsers are you seeing the problem on?

Chrome

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions