Quota: g00r00 (1:129/215) ha scritto in data Dom, 27 Settembre 2020 15:08
----------------------------------------------------
There is no way to update the password via command line because that could be a
huge security issue, but you can create users from command line if you need to:
mystic -newuser handle=g00r00 email=me@mysticbbs.com pass=1234
Do you have a way to detect in your script if the user is new or existing?
----------------------------------------------------
I have an happy flow where user first registers and then may update data ; but, in general, there are some ways to work around this flow: for example, user register but does not confirm an account ; or I update data of a user that is not in MysticBBS (because there was no integration when it was created)
something like this may do the job:
mystic -newuser handle=g00r00 email=
me@mysticbbs.com pass=1234 -updateifexists
or may I do something like this with mystic pascal ? (I have tried python, but did not manage to have it work)
--- FUDforum on
https://fidonet.3bsoft.com
* Origin: Nightmare BBS (2:331/313)