Remove redundant comment

This commit is contained in:
Neil Alexander 2022-03-28 10:34:00 +01:00
parent 022071e17e
commit a3e92102ac
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -557,8 +557,6 @@ func Register(
return handleGuestRegistration(req, r, cfg, userAPI)
}
// Retrieve or generate the sessionID
// Don't allow numeric usernames less than MAX_INT64.
if _, err := strconv.ParseInt(r.Username, 10, 64); err == nil {
return util.JSONResponse{