D
D
Dmitry Andreev2019-06-18 19:38:39
PHP
Dmitry Andreev, 2019-06-18 19:38:39

How to make registration with account confirmation by administrator?

Hello, I ran into a problem. I have a closed project, to which you need to go through certain stages in order to get there, there is also a site like a database server. I want that when submitting the "Request access" form, in order for a person to enter, the confirmation of the administrator is required (for example, changing the value of activated from "0" to "1" in pma). I can provide the code if needed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2019-06-18
@andreev_off1cial

For this, a separate page is usually made in the admin. panels. When you click "Request access" information about the user is added to the table with the parameter activated = 0. In the admin. panel displays all these users with a button "Confirm access". When you click on it, overwrite the information in the database and change it to activated = 1. Before entering a closed page, check the activated parameter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question