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
1 answer

Ion Auth cant login after install

I have installed ion auth, my server dont support bcrypt so made it sha1, now i cant login using default password. gives me login incorrect, i have also tried changing password in database using sha1 function but no avail. Please help. here is…
Neox
  • 87
  • 2
  • 12
0
votes
2 answers

Migration from CI Ion Auth to Laravel authentication

I have to migrate one project from CI to Laravel. This project uses Ion Auth by Ben Edmunds (http://benedmunds.com/ion_auth/). The question is whether there is possible to preserve old user passwords (so the old users do not have to recover their…
user3714582
  • 1,830
  • 13
  • 22
0
votes
2 answers

CodeIgniter checking values of checkbox

I'm having an issue with checking the value of a checkbox in CodeIgniter. I am trying to implement the solution found here: Codeigniter checking checkbox value. The following code never never evaluates to true, regardless of the checkbox being…
Derek Morgan
  • 165
  • 1
  • 2
  • 16
0
votes
1 answer

ion auth, users does not have any password

I'm new to Ion auth, so I've followed some tutorials to start. I can log with the default admin account, and then create other users. The problem is that other users cannot connect. And when I check directly in the database, the default user has an…
Thiamael
  • 3
  • 2
0
votes
2 answers

Ion auth Codeigniter Login throwing errors after logging in

This is my first project using both Codeigniter and Ion Auth and I've finished this tutorial: http://www.rappasoft.com/tutorials/view/5#.U1bJLeZdWpo But now that I've reached the end, I have an error that is appearing when all of my code looks…
Rambo8000
  • 323
  • 1
  • 12
  • 23
0
votes
1 answer

Codeigniter + ION AUTH...Can't tell if logged in

I'm building a Codeigniter application with ION Auth, which is going relatively OK. I've set up the ION Auth framework following this guide…
gazrolo4
  • 161
  • 2
  • 17
0
votes
1 answer

MVC in web: How should I use 'session' if I don't wanna it appear in 'model' and 'library'?

I'm confused with this these days. I have some principles for myself: I don't use session in model.(some Dependency Injection technique may help) I think libraries are like tools. It shouldn't has dependency on applications or frameworks. Base on…
0
votes
1 answer

Codeigniter Login form within header template

I'm using Codeigniter and the Ionauth library to manage users. The structure I'm using is as follows: Controllers: - home - auth Views: - home - home_view.php - templates - header.php - footer.php - auth - login - register When I…
drizzy
  • 139
  • 2
  • 15
0
votes
1 answer

Ion Auth Codeigniter - Default User/Password Not recognised

I'm new to Codeigniter and Ion Auth. Installed everything OK and set up the ION Auth DB tables. Go to BASE_URL/index.php/auth and I got an error about using encryption. So, I edited that in config by adding a simple string for now. So, now I can see…
gazrolo4
  • 161
  • 2
  • 17
0
votes
1 answer

Codeigniter Ion_auth sends a second email on user activate

I use the Ion_Auth in my Codeigniter Project and I would like to send a second Email after the user has been activating the account and I was taking a look on the code and actually what I'm trying is: In my controller $activation =…
fefe
  • 8,755
  • 27
  • 104
  • 180
0
votes
1 answer

Ion-auth not logging in after registering.

I just installed the ion-auth library and I'm trying to do some basic operations with it, including registering and logging in. Registering works just fine (I can see the row has been added to the database), but trying to login with the same…
Amnestic
  • 650
  • 2
  • 8
  • 23
0
votes
1 answer

Ion_Auth "from box" login error

Should the login work as it is? I've puted files to my project, added sql but when I'm trying to log in at http://mysite.local/index.php/auth/login with default account (admin@admin.com/password) it gives me the following error: A Database Error…
Kirill Ivanov
  • 77
  • 1
  • 8
0
votes
2 answers

Ion Auth check login from MY_Loader class

This may be a basic Codeigniter (or php) question, but I'm trying to check if a user is logged in with Ion Auth for every page call so I can provide a 'Sign-in' or 'Sign-out' link. I have my header, content, and footer views loading from MY_Loader…
mjpsr11
  • 595
  • 3
  • 10
  • 25
0
votes
2 answers

Codeigniter Ion Auth email activation is active already

Having the few more problems with Ion Auth. I have set $config['email_activation'] = TRUE, and an email is sent. However, the "activation_code" in the MySQL table is now NULL, and "active" = 1. This is before the user activates. I have made some…
user3222166
  • 13
  • 1
  • 4
0
votes
1 answer

codeigniter ion-auth activation code not working sporadically

I am using the the Ion-auth registration library for CodeIgniter. Everything was working fine, but now I see some users have problems with the email registration activation system. I have tested it and the email activation code may not work the…
user3222166
  • 13
  • 1
  • 4