Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Building the Registration Page. How to block (+) (https://postpacific.loc-online.com/showthread.php?t=5955)

kin 06.10.2006 14:32

Building the Registration Page. How to block (+)
 
the users. I mean when someone registers on the server, I enter the detailes to the database and send the e-mail. When user presses the link in the e-mail he (or she) confirms the registration. The question is:
Is there any field in database, to prevent logging in while not confirmed?

FidoW 06.10.2006 14:35

in lin2db
table user_account

You have some flags in that table... but i think the best for that is "pay_stat"

pay_stat = 0 ... cant login
pay_stat = 1 ... yes...

kin 06.10.2006 14:37

Will try! Thanks.


All times are GMT. The time now is 15:49.