Questions tagged [ion-auth]

Ion Auth is a user library for CodeIgniter.

More information can be found here : https://github.com/benedmunds/CodeIgniter-Ion-Auth

249 questions
0
votes
0 answers

Codeigniter and ion_auth - how do I restrict each function to be accessed?

How do you implement in codeigniter access control? or exempt certain functions to be executed in your controller? I am using ion_auth for my authentication system. I use MY_Controller to check whether the user is logged in: where: class…
mmr
  • 516
  • 11
  • 30
0
votes
1 answer

CodeIgniter Ion Auth - Incorrect Login

Using Ion Auth, I was able to successfully register and activate an account. The created account shows up in the database. However, trying to login keeps on saying "Incorrect Login." I have tried various combinations of passwords, tried enabling…
arao6
  • 3,316
  • 5
  • 30
  • 51
0
votes
4 answers

CodeIgniter Ion Auth not sending activation email

I have CodeIgniter Ion Auth configured with the following smtp info: $config['use_ci_email'] = FALSE; $config['email_config'] = array( 'mailtype' => 'html', 'protocol' => 'smtp', 'smtp_host' => 'mail.example.com', 'smtp_user' =>…
arao6
  • 3,316
  • 5
  • 30
  • 51
0
votes
0 answers

Registration with CodeIgniter Ion Auth

I am trying to register a user with Ion Auth, but the register() function does not seem to report any error messages. How does one register with Ion Auth? I've already read various tutorials like this one and this one (and the documentation), but…
arao6
  • 3,316
  • 5
  • 30
  • 51
0
votes
1 answer

Ion Auth not redirecting properly during log in

I am using ion auth to create a login system for my codeigniter application. I have created routes for better URLs so that for example; http://localhost/myApplication/index.php/auth/login is now http://localhost/myApplication/index.php/login The…
user1678293
  • 85
  • 1
  • 10
0
votes
1 answer

CodeIgniter Ion Auth pages outside auth folder

I am very new to CodeIgniter Ion Auth, I was wondering if it is possible to add pages, outside the auth folder? the pages can be accessed only if the user is logged in. The main reason why I wanted the pages outside the auth folder is that I want to…
mark yorky
  • 193
  • 1
  • 5
  • 17
0
votes
2 answers

Moving Data between Controllers and Models - Codeigniter Best Practices

Sorry for the simple question but let's say that I'm using Ion-Auth with Codeigniter to distinguish between logged-in and not logged-in users. And I have a simple custom Controller that captures the user's ID as such: class MY_Controller extends…
user1011713
  • 281
  • 5
  • 23
0
votes
2 answers

How to create own login form in Ion Auth for CodeIgniter?

Im trying to use Ion Auth to protect admin area on my site. I installed Ion Auth (added tables, copied files). I added file application/system/core/MY_Controller.php which looks like this:
Kamil
  • 13,363
  • 24
  • 88
  • 183
0
votes
1 answer

How to use ion_aut library in codeigniter with MY_Controller

Hi all i'm searching for a usage of IonAuth library for Codeigniter 2.x and i'm curious to learn how it works. Downloading the package i have a controller auth.php. i had a look at this…
ocrama
  • 31
  • 2
  • 9
0
votes
1 answer

in codeigniter facing an error as : get property of non-object

Severity: Notice --> Trying to get property of non-object libraries\mongo_db.php 755 When using ion_auth with mongodb . Assessing collection user . it retrieves as a non-object.. any fixes ??
Vikas_web
  • 147
  • 3
  • 11
0
votes
3 answers

Non-existent class: Mongo_db

I have a problem with ion_auth . I converted all required file fit for Mongodb. my config liles mongo_db.php
Vikas_web
  • 147
  • 3
  • 11
0
votes
1 answer

Using the ion_auth login process and using a templated process to render the login process

I'm a new kid with CI and ion_auth and have both running correctly. I have also created a view/template of a view/template/header and view/template/footer on another page ('welcome') that is a part of a fairly complex html5 responsive template with…
Ewen
  • 389
  • 4
  • 15
0
votes
1 answer

codigniter 2.1.4 and ion_auth won't work

I try to use ion_auth library for codeigniter but I do not get it to work. Appropriate files already in given folders, mysql structure created I have my admin structure as follows controller --admin ---dashboard.php ---auth.php I request…
fefe
  • 8,755
  • 27
  • 104
  • 180
0
votes
1 answer

Codeigniter: Integrating Ion Auth screens with Bootstrap Modals

If user clicks on any link on page, I check if user is logged in in the controller method. If he is not logged then I show a Login Screen Modal onscreen. Everything works fine till this point. If user give wrong user name password. Next page appears…
Himanshu Yadav
  • 13,315
  • 46
  • 162
  • 291
0
votes
1 answer

Codeigniter: Ajax Login Redirect issue with Ion Auth

I am trying to use Ion Auth framework with my CodeIgniter application.When user clicks a link request goes to Controller method and checks if user is logged in or not. If not then redirects to auth\login method. But I get html of the login page in…
Himanshu Yadav
  • 13,315
  • 46
  • 162
  • 291