• src/sbbs3/answer.cpp login.cpp logon.cpp main.cpp sbbs.h sbbsdefs.h

    From rswindell@VERT to CVS commit on Tuesday, July 16, 2019 07:07:17
    src/sbbs3 answer.cpp 1.104 1.105 login.cpp 1.28 1.29 logon.cpp 1.70 1.71 main.cpp 1.753 1.754 sbbs.h 1.531 1.532 sbbsdefs.h 1.243 1.244
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv6929

    Modified Files:
    answer.cpp login.cpp logon.cpp main.cpp sbbs.h sbbsdefs.h
    Log Message:
    Move login username/number parsing into a the C++ code (from login.js) since we need that internal for SSH and RLogin support of fast-logons.
    So, now, even if logging in via SSH or Rlogin, the sys_status SS_FASTLOGON
    flag will be set when the user specifies "!username-or-number" during logon and then the logon.js can use that to determine what to display (or not) to the user, during logon.

    The QWK logon support ("*username-or-number") is also handled in this new sbbs_t method: parse_login().

    This means the fast_logon_char is no longer configurable (hard-coded to '!') and the modopts.ini options are going to be parsed by logon.js from the [logon] section (not the [login] section).

    You still must set fast_logon=true in the [logon] section of modopts.ini to enable the fast-logon option for users.


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