Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] Fix password error not showing in Inertia when disconnecting an account #333

Merged
merged 3 commits into from
Feb 6, 2024

Conversation

miguilimzero
Copy link
Contributor

@miguilimzero miguilimzero commented Feb 6, 2024

Summary

This pull request fixes the password error not working for the Inertia.js version (even for fresh installs) when disconnecting social accounts. It also changes the password confirmation logic to the same as Jetstream:

https://github.com/laravel/jetstream/blob/4.x/src/Http/Controllers/Inertia/CurrentUserController.php

Since this endpoint is only used by Jetstream Inertia.js, this change does not affect the other Socialstream implementations.

Checklist

  • I've read this template
  • I've checked reviewed this PR myself, ensuring consistency and quality with the rest of the project
  • I've given a good reason as to why this PR exposes new / removes existing user data

@miguilimzero miguilimzero marked this pull request as ready for review February 6, 2024 02:25
@joelbutcher joelbutcher changed the title Fix password error not working when desconnecting account for Jetstream -> Inertia.js [5.x] Fix password error not showing in Inertia when disconnecting an account Feb 6, 2024
@joelbutcher joelbutcher merged commit 2b23b3e into joelbutcher:5.x Feb 6, 2024
61 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.

2 participants