self-registering users
3 posts
• Page 1 of 1
Hello all,
I'm really new to dataface and it seems to be a very good program ! I want to know how to add thee possibility to self register users and how it is working. I want the users to see only the records they are going to add. Can someone help me because i'm not a very good php user ? Thanks. Regards. Dominique.
Hi Dominique, Glad to hear you're getting along with Dataface. You can add a registration feature by adding the following to the [_auth] section of your conf.ini file allow_register=1 This will give the user a "Register" link on the login page where they can click to register. If the user clicks this link they will essentially be shown a "new record" form on the users table.Ê In order for this to work, you have to make sure that ALL users have the 'new' permission on the users table.Ê You would probably want to prohibit access to certain fields like the user's role. You would also want to create a limited default role for new users called "UNVERIFIED" or something so that users can't do anything until they've been verified. The next version contains an automatic email verification step that verifies a user by sending them an email.Ê The user account is not created then, until the user is verified. -Steve
3 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 23 guests |