codenitive / fuel-hybrid

A collection of classes to help your code hotter than before
http://codenitive.github.com/fuel-hybrid
MIT License
19 stars 3 forks source link

Missing register new user feature? #138

Closed andrewscofield closed 12 years ago

andrewscofield commented 12 years ago

Hey, I was wondering why I can't find in the code a way to use hybrid to register a new user. Is this possible at the moment? The Auth class worked great out of the box, returned to the page /auth/register after authenticating with facebook. But even though my Session had all the token info there it never got added to the database. Is it my job to write the register feature? Just wanted to make sure I wasn't going to write code for something that was already there.

azraai commented 12 years ago

Hi.

Hybrid doesn't provide any MVC process for login, logout, or register.

Yes, it is your job to write the register feature.

andrewscofield commented 12 years ago

I see it now in the docs:

What's not available? It doesn't provide the MVC process/flow of registration, login and logout.

thanks for the quick reply

crynobone commented 12 years ago

At the moment we don't have the option as we would like to make the DB abstraction layer to be as flexible as possible, with this flexibility it make it harder for us to do MVC for you.

However we looking closely to other Fuel Auth implementations including Sentry, Warden and Auth to improve and implement the best practise, and maybe a module dedicated to Auth for Hybrid package (not sure yet).