Form to check the password for forwarding

I want to make a form in which the user has to enter his password and if it is correct he will be forwarded.

How do I do that?

Please provide more context.

Are you using the build-in Django Authentication?

Do you mean you want to take a extra step in security and ask for password when some user go to an URL?

The user must enter his password from the database in the input field in order to have access to a page

We are currently not using No for this. Is there a way to do this with Django authentication?

No, I don’t want this password query for every page, only for one page.

The password is not in the database, Django (or every modern Framework) keeps a hash, you have to generate a hash and compart it, if you do not do this, you are making a big security mistake.

1 Like

Start with reviewing -

1 Like