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

Codeigniter: ion auth is not working

Copied all ion auth folders into Codeigniter 2.1.4's applications folder. Created all login tables in database. Added following line in index() of default controller: if ($this->ion_auth->logged_in()) { …
Himanshu Yadav
  • 13,315
  • 46
  • 162
  • 291
0
votes
1 answer

Codeigniter Ion Auth register() not returning errors

I'm using Ion Auth for authentication and am having difficulty returning validation errors. The login(); function returns them as expected and when running register();, I'm redirected correctly, however no errors are returned. Form…
Dan
  • 425
  • 2
  • 11
0
votes
1 answer

Ion auth register user without activation from admin panel

I'm using the Ion Auth library for the authorisation in my CodeIgniter project. I would like to have the following options in my project: If a user registers via the front-end of the website, he or she needs to activate their account via an…
Tomzie
  • 1,338
  • 4
  • 19
  • 25
0
votes
0 answers

What does 'join with' mean in ion_auth config file

I had Ion_auth working perfectly but then changed the table names: $config['tables']['users'] = 'users_1'; $config['tables']['groups'] = 'groups_1'; $config['tables']['users_groups'] =…
user1592380
  • 34,265
  • 92
  • 284
  • 515
0
votes
0 answers

Codeigniter, Ion-auth: mail user password

I use Wordpress as a CMS, and it has a nice option whereby, when an admin creates a user, Wordpress generates a password and emails it to the user, who can then login and change it to something more memorable. Can such a feature be implemented in…
Fred Riley
  • 333
  • 1
  • 3
  • 12
0
votes
2 answers

Error updating the user settings in ionauth : "This form post did not pass our security checks."

I am using Ionauth library in codeigniter and edited edit_user() method in Auth controller to enable individual user updating his/her own user settings. So when a logged in user goes to : siteurl/auth/edit_user it shows the user settings just fine.…
Zihad
  • 352
  • 3
  • 21
0
votes
2 answers

CodeIgniter system issue caused by IonAuth and $query->num_rows()

Please excuse the code I've posted that isn't code formatted. couldn't get the four spaces to work sometimes. Hi. Looking for some insight on this error caused by num_rows() function in CodeIgniter. Fatal error: Call to undefined method…
Patrick
  • 241
  • 2
  • 8
  • 18
0
votes
1 answer

IonAuth groups - not returning correct value

so I just started to use Ion_Auth lib for my CI applications and anyway I am having a bit of trouble with the results I get when using the library function in_group. Everything worked fine until I manually edited the default admin account and…
cyber-guard
  • 1,776
  • 14
  • 30
0
votes
1 answer

ion_auth : Trigger Send Email when user registers

Send certain email when new user register in my website. How do I do this . where will I attach the my code. What class and what function..
Kevin Florenz Daus
  • 597
  • 3
  • 9
  • 23
0
votes
1 answer

Can I have config files that override the system config files in PyroCMS?

Specifically, I'm trying to change the register_redirect in the system/cms/modules/users/config/ion_auth.php config file. Is there some place to put my application specific configs?
Shamoon
  • 41,293
  • 91
  • 306
  • 570
0
votes
0 answers

Codeigniter ion_auth redirects to ?auth/login loop

I'm setting up ion_auth for the first time and when I click submit from the login screen, it redirects the URL from baseurl/auth/login to baseurl/?auth/login and gets caught in a loop. Any ideas why that question mark is appended to the…
tbass
  • 1
0
votes
1 answer

correct way to use this function

i saw this function 'is_post' at this website: http://www.kylenoland.com/a-comprehensive-guide-to-securing-codeigniter-2-x-with-ben-edmunds-ion-auth/ class MY_Controller extends CI_Controller { public function is_post() { return…
user1884324
  • 693
  • 5
  • 14
  • 21
0
votes
1 answer

PHP Code Igniter Ion Auth - Can't successfully create a new tier of user

I'm rather new at CodeIgniter and especially Ion Auth. I'm building a website which will have three tiers of user: User, Moderator and Admin. My aim is to use this code snippet: if (!$this->ion_auth->in_group('moderator')) { …
Gwenji
  • 117
  • 2
  • 11
0
votes
1 answer

PHP CodeIgniter Ion Auth Creating a New Group

I am building a website and am new to Codeigniter and Ion Auth. My website consists of three tiers of user: regular user, moderator and admin. I understand is_admin and is_logged in, but can't figure out how to create a new group for my…
Gwenji
  • 117
  • 2
  • 11
0
votes
1 answer

ion auth and codeigniter

I am playing with codeigniter and ion auth for the first time. I have got everything working however, in the ion auth template, the index view displays a list of all users.
Smudger
  • 10,451
  • 29
  • 104
  • 179