Skip to content

User slugs are not unique #113

Open
Open
@akimcsm

Description

@akimcsm

I know this issue was fixed for the Post model #76, but I recently ran into it while saving multiple users with the same name.

A temporary fix for people facing the same issue might be changing the column that is being used as a slug (e.g. in the boot() method from the User model, change $model->name to $model->email since email is always unique).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions