kaptk2 / portal

Sample UniFi portal in php
93 stars 41 forks source link

User Registration #1

Closed blackbx closed 11 years ago

blackbx commented 11 years ago

This is just what im after... just what im not too sure about is user registration?

how would that work with the system? where could you view the users?

Keep up the good work!

kaptk2 commented 11 years ago

An assumption made with this is that you have your own user database. In other words user registration is not exactly included. Although it would be fairly simple to add, but that kinda goes outside the scope of this program.

If I were to write one I would start off with the mysql example and then just write a simple CRUD interface to be able to add and remove users.

Hope that helps

shabeermothi commented 11 years ago

I have a question. The id which you use in the $data packed as JSON. What does that $id imply. From the code i find it to be the id which is passed to login page. But will any id work with the UniFi controller, dont they require a mac address. Could you please help as to how to use the $id ?

Thanks

Shabeer