Skip to content

Feat: Update registering users without password - #99

Merged
repl6669 merged 3 commits into
1.0from
feat/update-registering-users-without-password
Mar 22, 2026
Merged

repl6669 merged 3 commits into
1.0from
feat/update-registering-users-without-password

Conversation

@repl6669

Copy link
Copy Markdown
Contributor

No description provided.

Add the ability for users to delete their own account via the JSON:API
users resource. Includes the DeleteUser action, DeletesUser contract,
container binding, route registration, and tests for authorization.
…_set field

RegisterUser now returns the existing user when the email already exists
instead of failing, which fixes CreateUserFromCart during checkout.

Added password_set boolean column (default false) to track whether users
have explicitly set their password. The field is set to true during
registration with password, password change, and password reset.
…g user

Returning the existing user on duplicate email was a security hole that
allowed authentication bypass without password verification. Registration
now always enforces unique email validation via CreateUser, throwing a
ValidationException on duplicates.
@repl6669
repl6669 merged commit fc89a4a into 1.0 Mar 22, 2026
52 of 53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant