cleansedbb
Technical User
What I'm trying to do is assign temp passwords to go to a form page to fill out info and on submit the temp account is gone and I'll take the email and give a new perm account to the individual.
I have a script that reads the lines into vars and then checks the TEMP usernames and password against it.
the users.txt file looks like this
# | name | password
1 temp1 pass1
2 temp2 pass2
right now I just use a form to write accounts into the file but I have to deletem them manually.
I want to have them deleted after one login.
kind of a submit on formpage deletes that user from the file
I have a script that reads the lines into vars and then checks the TEMP usernames and password against it.
the users.txt file looks like this
# | name | password
1 temp1 pass1
2 temp2 pass2
right now I just use a form to write accounts into the file but I have to deletem them manually.
I want to have them deleted after one login.
kind of a submit on formpage deletes that user from the file