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

Admin edit user settings #17

Closed
rickfo97 opened this issue Dec 11, 2017 · 0 comments
Closed

Admin edit user settings #17

rickfo97 opened this issue Dec 11, 2017 · 0 comments
Assignees

Comments

@rickfo97
Copy link

  • Laravel Version: 5.4.*
  • PHP Version: 7.0.22-0
  • Database Driver & Version: mysql 5.7.20-0

Description:

On "[url]/staff_dashboard/user_search" when you press "Edit Profile" it goes to that users in the url but on the page it's still the logged in user that you're editing.

Steps To Reproduce:

Go to "[url]/staff_dashboard/user_search".
Click on "Edit Profile" on a user that's not you.
Displays your settings.

Possible Fix:

Change in UserController->settings($username, $id) on row 167

$user = \App\User::find($id);
@ghost ghost added the Bug label Dec 11, 2017
@HDVinnie HDVinnie added the Fixed label Dec 11, 2017
@HDVinnie HDVinnie self-assigned this Dec 11, 2017
@gmunday2 gmunday2 mentioned this issue Jul 27, 2020
@K4Li K4Li mentioned this issue Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants