mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-17 09:25:50 +00:00
Merge branch 'main' into add_federation_worker_index
This commit is contained in:
commit
c25734e4ca
@ -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 New Issue
Block a user