WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Two Factor Identification


From: TJ McElroy
Date: Sep 15, 2022 8:54AM


I am writing a two factor identification script,
to allow uploads to my site.

a user must fill out a form
entering their name and email address

then a random five digit number (token) is generated,
that token is emailed to the user.

on the page that the user entered their original data
I have two forms
the form that gathers the users original data (form1)
and a form for the user to enter the token (form2)

my question is:

which is the best practice,
keeping both form1 and form2 on the same page
having form1 and form2 on separate pages