]> BookStack Code Mirror - bookstack/commit
Avatar Commend: Simplified and updated during review
authorDan Brown <redacted>
Tue, 19 Sep 2023 14:53:01 +0000 (15:53 +0100)
committerDan Brown <redacted>
Tue, 19 Sep 2023 14:53:01 +0000 (15:53 +0100)
commit4b4d8ba2a18fd6daa0face55742d50dc0230a4b4
treecef639895aa9d0b0a581d090605cbfde15a7bee6
parentca98155373e759b65d2e62558c97a68f7158c704
Avatar Commend: Simplified and updated during review

During review of #4560.

- Simplified command to share as much log as possible across different
  run options.
- Extracted out user handling to share with MFA command.
- Added specific handling for disabled avatar fetching.
- Added mention of avatar endpoint, to make it clear where these avatars
  are coming from (Protect against user expectation of LDAP avatar sync).
- Simplified a range of the testing.
- Tweaked wording and code formatting.
app/Console/Commands/HandlesSingleUser.php [new file with mode: 0644]
app/Console/Commands/RefreshAvatarCommand.php
app/Console/Commands/ResetMfaCommand.php
app/Uploads/UserAvatars.php
tests/Commands/RefreshAvatarCommandTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.