New users on my forum are "undefined"

Bug Reports
  • #1

    Not sure what's going on here, but user sign up is borked for me, I just created a test account to test if + was allowed in the email field, and I've just noticed that all users come in as username "undefined".

    This site is fine, so I don't know what's going on. (Sorrytesting was me. 😆)

    nodebb log shows warn: [plugins/spam-be-gone] username:thisisatest ip:xx.xxx.xxx.xx was not found in Honeypot database. Which is always good, but doesn't tell me why the username is tripping to undefined, and, apparently, not being saved?

    Not sure if you can see them or if they vanish. http://35hz.co.uk/users/latest - Clicking on any of them just takes you to the latest undefined user, trying to log in again after just gives incorrect password. Interestingly when the account I created these accounts, I was sent straight to my profile. (If I edit the username, it's fine (ausername is one example)

    Untitled.png

  • Plugin & Theme Dev
    #2

    Coincidentally I saw an undefined user on here the other day too.

    @undefined

  • #3

    @Schamper https://community.nodebb.org/users/latest

    Seems this may be fixed if I do a git pull...

    Edit: It was. 🙂 Solved.

  • GNU/Linux
    #4

    Yeah, some blind fixing for gh#1741 caused this to happen, but to be honest, that bug was kind of hard to reproduce, so that side effect cropped in 😄

    No clue how to handle the existing users with "undefined" as their username... hm


Suggested Topics


| | | |