Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion public/src/client/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@
if (results.every(obj => obj.status === 'rejected')) {
showSuccess(username_notify, successIcon);
} else {
showError(username_notify, '[[error:username-taken]]');
const suggestion = `${userslug}suffix`; // sanitized slug + suffix

Check failure on line 134 in public/src/client/register.js

View workflow job for this annotation

GitHub Actions / Lint (ubuntu-latest, 16)

Multiple spaces found before '// sanitized s...'
showError(username_notify, `[[error:username-taken]] maybe try "${suggestion}".`);
}

callback();
Expand Down
Loading