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

Maintain activated state on editing a user #12810

Merged
merged 1 commit into from
Apr 9, 2023

Conversation

snipe
Copy link
Owner

@snipe snipe commented Apr 9, 2023

This fixes an issue where editing the user would re-check the checkbox for login enabled.

Signed-off-by: snipe <snipe@snipe.net>
@snipe snipe merged commit 79a8eff into develop Apr 9, 2023
3 checks passed
@snipe snipe deleted the fixes/maintain_checkbox_state_on_user branch April 9, 2023 21:07
@what-the-diff
Copy link

what-the-diff bot commented Apr 9, 2023

  • The activated field is removed from the create method in UsersController.php
  • In edit.blade, a checkbox for 'activated' was added to the form with an id of "activated" and a label of "Activated". If old('activated') == 1 or $user->active == 1 then it will be checked by default when editing users (but not creating them).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant