• webv4/root/api/register.ssjs

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Jan 21 22:49:08 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/21b8b2c25018b8967b4bd510
    Modified Files:
    webv4/root/api/register.ssjs
    Log Message:
    Fix "Username already taken." validation error (could not happen)

    The system.check_name() check *also* verifies that the username is not
    already taken, so we must perform the matchuser() check first in order
    to get the appropriate error message here when trying to use an alias (username) that's already taken.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net