Welcome Guest, Not a member yet? Register   Sign In
How to use Ion-Auth in Modular Extensions
#1

[eluser]Massimiliano Marini[/eluser]
Hi all,

I want to use Ion-Auth in my project, but I'm having some problems and I feel lost and stuck.

I tried to look inside PyroCMS code, but Phil has made some own customizations and I've lost the plot.

Actually, my default controller is:
Code:
$route['default_controller'] = "dashboard";
located in
Code:
/application/modules/dashboard/controllers/dashboard

I'm using template library and modular extensions, all seems works fine but now I need to implement an authentication system, and Ion-Auth seems to be good for this job, but nothing I can't setup this.

Looking inside the forum I've found this post but nothing.

If someone has any kind of helps, tips, links, tutorials about this or another auth library that is more closer to my project structure, please let me know.
#2

[eluser]Davide Bellini[/eluser]
Please, post your code ....
#3

[eluser]wiredesignz[/eluser]
Why can you not just put Ion-Auth into the application directory where it was originally intended to go?
#4

[eluser]AndrewTurner[/eluser]
You place it into the application directory as wiredesignz said, and either load it using autoload or load it into your module's controllers as you normally would.




Theme © iAndrew 2016 - Forum software by © MyBB