summaryrefslogtreecommitdiff
path: root/core/data/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/data/config.go')
-rw-r--r--core/data/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/data/config.go b/core/data/config.go
index c25db0df8..0eaa0f57d 100644
--- a/core/data/config.go
+++ b/core/data/config.go
@@ -604,6 +604,7 @@ func SetForbiddenUsernameList(usernames []string) error {
}
// GetSuggestedUsernamesList will return the suggested usernames as a comma separated string.
+// If the number of suggested usernames is smaller than 10, the number pool is not used (see code in the CreateAnonymousUser function).
func GetSuggestedUsernamesList() []string {
usernameString, err := _datastore.GetString(suggestedUsernamesKey)