Subj : Methods for logon
To   : Kirkman
From : Digital Man
Date : Tue Aug 08 2017 03:22 pm

 Re: Methods for logon
 By: Kirkman to All on Tue Aug 08 2017 12:07 pm

> For a while I've been using Nightfox's DDLoginMatrix mod to customize the
> logon process on my BBS.
>
> However, I recently got the itch to try writing my own logon script. I
> wanted to build something using the Frame.js, Tree.js, and Typeahead.js
> libraries.
>
> Anyway, I have something now that's working, but I had a few questions for
> DM (or whoever might know).
>
> The first: is there a way to do something like bbs.logon() method, but
> without the builtin password prompt? I'm looking for a way to handle the
> password input prompt myself. Once I had the user's input, I would pass it
> to the logon method.

I think you're thinking of the bbs.login() method, not bbs.logon(). Currently,
the password prompt cannot be bypassed, but I could pretty easily make that
optional (e.g. do something like bbs.logon(user_name, null, password)) but it
would only work with a future v3.17 development build.

> Second: Is there a way to do the same with the system password? If my script
> detected the user was attempting to logon to a sysop-level account, I would
> build my own password prompt, then pass the user's entered system password
> to the logon() method.

Yes, I could add another optional system_password parameter to bbs.login().

                                           digital man

Synchronet "Real Fact" #28:
Rob Swindell's first computer was a Commodore VIC-20 (1980).
Norco, CA WX: 93.0�F, 34.0% humidity, 9 mph E wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net