Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with CI3.0 #29

Open
mrtomtom opened this issue Nov 5, 2014 · 12 comments
Open

Incompatible with CI3.0 #29

mrtomtom opened this issue Nov 5, 2014 · 12 comments

Comments

@mrtomtom
Copy link

mrtomtom commented Nov 5, 2014

The library needs to be updated to be compatible with CI3. Happy to help out, just need a little direction.

@dansanti
Copy link

dansanti commented Dec 5, 2014

I try with CI3 and it's work, you need to update name files with first letter with uppercase on controllers and models, and change $this->load->library("session"); by $this->load->driver("session");

@dansanti
Copy link

Now take care with new CI3 session library,
now you must use database or files driver instead cookie driver...
and on line 2235 set_cookie($ci_session); you must replace it by $this->session->set_userdata($ci_session);

@mrtomtom
Copy link
Author

@dansanti -- Do you know any other changes that are required to get it working with the new session library?

@dansanti
Copy link

well, on first lines of flexi-auth.php, I replace
line 36 load_class('Flexi_auth_lite', 'libraries', FALSE);
with
$CI =& get_instance();
$CI->load->library('Flexi_auth_lite');

Adicionally i change phphass for native php hash(listed on best practic on ci3 docs)

@sonicwong
Copy link

Hi dansanti,
Do you mind upload whole set of updated code or pull your change to the project?
Thanks!

@dansanti
Copy link

watch my fork,when i'm with time, i work on it, and i'm planing extend social media support

@pawelkosi
Copy link

Hi dansanti,

Same as sonicwong, I would love to get hands on the updated code. I tried to follow the comments here and I cant get it to work. You are doing an awesome job mate! its sad that such project was abandoned but it is great that there are likes of you who keep it going!

Big thanks!

@hannannexus
Copy link

can i use Flexi Auth with CI3

@hannannexus
Copy link

please tell me anyone...

@dansanti
Copy link

Yes, but with a few changes
El 20/12/2015 08:39, "Hannan" notifications@github.com escribió:

please tell me anyone...


Reply to this email directly or view it on GitHub
#29 (comment)
.

@hannannexus
Copy link

Thank you for your information

@ishtiaq12
Copy link

hello guyz... i m using flexiauth and facing problem in session so any one can help me ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants