Skip to content

Fix authentication check on account rendering when bio is defined

sanitize_html may change user object when rendering user in API, for example if there is multiline bio defined, causing owner to loose access to following/follower lists in such scenario.

This MR moves authentication equality check before sanitization is applied.

Merge request reports

Loading