mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-25 22:01:19 +00:00
Merge branch 'main' into add_federation_worker_index
This commit is contained in:
commit
c25734e4ca
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ pub async fn register(
|
|||
check_slurs_opt(&data.answer, &slur_regex)?;
|
||||
|
||||
if sanitize_html_api(&data.username) != data.username {
|
||||
Err(LemmyErrorType::InvalidName)?;
|
||||
Err(LemmyErrorType::InvalidName)?;
|
||||
}
|
||||
|
||||
let answer = sanitize_html_api_opt(&data.answer);
|
||||
|
|
Loading…
Reference in a new issue