Skip to content

UpdateUserProfileInformation Action unverifies user's email regardless of change #67

Closed
@DarthShmev

Description

@DarthShmev
  • Fortify Version: 1.4.1
  • Laravel Version: 8.0
  • PHP Version: 7.4.5
  • Database Driver & Version: MySQL 8.0.19

Description:

When a user updates their profile information, the UpdateUserProfileInformation action checks to see if the new email in the request equals the user's existing email on record. Regardless of rather it does or not, the action sets the user's email_verified_at property to null. The expected behaviour would be to only nullify email_verified_at if the new email in the request does not equal the user's existing email on record.

Steps To Reproduce:

  • Setup the latest version of Fortify
  • Submit a PUT request to /user/profile-information with any email and name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions