I have been tinkering a bit and (for anyone that is interested)
I tried to create a custom trigger within the table ost_user_account, which looks like this:
delimiter //
create trigger deny_usr_pw_reset AFTER INSERT ON ost_user_account FOR EACH ROW BEGIN UPDATE ost_user_account SET status = 9; END;//
delimiter ;
However, this causes the initial login to fail (with sometimes the error message to provide a valid phone number (we use 4 digit ones), although i have altered the Contact Form to not validate the user phone number.)
I have tried to delay the trigger with
,but that just makes a "Please wait" Prompt pop up for 3 seconds, resulting in a failure to create the user.
It appears the custom trigger is interrupting the normal order of operations for osTicket.
I will continue my search next week.