EllisLab text mark
Advanced Search
78 of 89
78
   
Ion Auth - Lightweight Auth System based on Redux Auth 2
Posted: 01 February 2012 01:39 PM   [ # 1161 ]   [ Rating: 0 ]
Avatar
Joined: 2012-02-01
1 posts

Hey guys,
Has anyone succeeded to implement captcha into ion_auth?

I will be very grateful if someone would give me some tips in how to do that

Thanks

 
Posted: 08 February 2012 05:04 AM   [ # 1162 ]   [ Rating: 0 ]
Avatar
Joined: 2009-06-12
420 posts

@DavidMann: Encrypted database sessions sound like CodeIgniter sessions with the encryption flag set to TRUE. See: http://ellislab.com/codeigniter/user-guide/libraries/sessions.html

Its in config.php -> $config[‘sess_encrypt_cookie’] = FALSE;

Anyhow! I do have a question. I really like Ion Auth and I am wondering if it would be hard to hook in the following: Google, Facebook, OpenID and possibly other authentication methods. smile

Obviously that is not a base thing, but it is something that makes users register quicker and more often in my experience and I want to stimulate that as much as possible.

 Signature 

- Simon

 
Posted: 12 February 2012 10:20 AM   [ # 1163 ]   [ Rating: 0 ]
Joined: 2010-03-04
6 posts

after updating the library the connection with the meta table is lost.
Can someone point me in the right direction with this?

I need to be able to fetch this data e.g. first_name last_name
But also when creating a user somehow this join is lost.

how can i restore this?

 
Posted: 05 March 2012 08:30 AM   [ # 1164 ]   [ Rating: 0 ]
Avatar
Joined: 2010-09-19
19 posts
mallcom - 12 February 2012 10:20 AM

after updating the library the connection with the meta table is lost.
Can someone point me in the right direction with this?

I need to be able to fetch this data e.g. first_name last_name
But also when creating a user somehow this join is lost.

how can i restore this?

The later releases of Ion_auth no longer use the META table.
All columns from this table will now be held in the USERS table

 
Posted: 08 March 2012 06:53 AM   [ # 1165 ]   [ Rating: 0 ]
Joined: 2012-03-08
1 posts

hi,

I’m not sure about right thread, so write here.
I do need extend Ion_auth (library), that is located under the application/libraries. I tried to use standard approach: to make a php lib as MY_Ion_auth.php and class name MY_Ion_auth (located at the same place, under the application/libraries).
But when i try to use it in controller, i get an error: “Unable to load the requested class: Ion_auth”. Seems, it’s not a right way.
I also tried to use a call of library load as $this->load->library(‘MY_Ion_auth’), but it made a mess, as i need to change all the lines where ion_auth is used inside a controller.


Is there some more elegant way to do this? Can someone assist with this issue?


Vasily

 
Posted: 08 March 2012 05:27 PM   [ # 1166 ]   [ Rating: 0 ]
Avatar
Joined: 2010-01-11
92 posts

@crendel : sorry can’t help about that, maybe someone else will

I would need some advice about a problem i had with my app, ion_auth and firefox
It often log me out without asking then i sometimes must restart firefox to be able to login again
Maybe someone has meet similar problem before ? I can’t say if it’s due to firefox only or due to a bad config (that i suspect)

any suggestion is welcome

I use the latest downloadable ion_auth version from repository and the latest codeigniter v2x
firefox 10, xp, wamp

 Signature 

WAMPSERVER: http://www.wampserver.com/
NETBEANS 7: http://netbeans.org
MAXTHON 3: http://www.maxthon.com
Win7 64bits

 
Posted: 20 April 2012 03:17 AM   [ # 1167 ]   [ Rating: 0 ]
Avatar
Joined: 2009-05-05
241 posts

question: has anyone here created a brute_force plugin for Ion Auth? i.e. if user X has Y login attempts, then lock the account and send them an email to unlock?

 
Posted: 22 April 2012 02:56 PM   [ # 1168 ]   [ Rating: 0 ]
Joined: 2012-04-22
1 posts

I have a bit of a newb question. I installed ion auth but when i navigate to codeigniter on local host, im still seeing the code igniter welcome page

 
Posted: 22 April 2012 03:24 PM   [ # 1169 ]   [ Rating: 0 ]
Avatar
Joined: 2010-09-19
19 posts

Hi Callidus

You’ll need to add (as a minimum) the following code to your controller

$this->load->library('ion_auth'); 

and

if (!$this->ion_auth->logged_in())
{
//redirect them to the login page
redirect('auth/login''refresh');

 

 
Posted: 28 April 2012 09:51 AM   [ # 1170 ]   [ Rating: 0 ]
Avatar
Joined: 2009-05-05
241 posts

Question regarding passwords + security. My current config:

$config['hash_method''bcrypt';  
$config['default_rounds'8;  
$config['random_rounds'true;
$config['min_rounds'5;
$config['max_rounds'9

Generates passwords like this:

$2a$08$pMmzIomXsmPhl8CfXDx7ZebKxTID2We5Sr3tgBNkIw81vJSQfqll.
$
2a$09$tH2Z3gbGrhHaP8VDdD6bD.a5QEzfMxA41BrAsSmQtjkd8YWRqF9Sm
$2a$07$v0tBBmGO5Ym/AH4mjXikpeMdkHxi2C.W2FKcdP2Xxj12JWPRQ3z3W 


So is the $2a$08 saying that it is bcrypt - and to run 8 rounds on it? And $2a$09 is saying run 9 rounds?

 
Posted: 30 April 2012 05:35 PM   [ # 1171 ]   [ Rating: 0 ]
Avatar
Joined: 2010-01-11
92 posts
rip_pit - 08 March 2012 05:27 PM

I would need some advice about a problem i had with my app, ion_auth and firefox
It often log me out without asking then i sometimes must restart firefox to be able to login again

Solved, seems to be a know bug in codeigniter database session handling.
ID is regenerated too fast, it breaks.
I fixed it by installing CI Native Session and no more random disconnecting smile search the forum for more infos wink

 Signature 

WAMPSERVER: http://www.wampserver.com/
NETBEANS 7: http://netbeans.org
MAXTHON 3: http://www.maxthon.com
Win7 64bits

 
Posted: 01 May 2012 09:20 PM   [ # 1172 ]   [ Rating: 0 ]
Joined: 2011-10-23
113 posts

Hi All,

I’ve got a very basic question ? How do I set up email notifications. In the Ion auth config file I’ve done:

$config['use_ci_email']false;

 
/**
  * Email config - 
  *  'file' = use the default CI config or use from a config file
  *  array = manually set your email config settings
  **/
 
$config['email_config']         = array(
  
'protocol'=>'smtp',
  
'smtp_host'=>'ssl://smtp.googlemail.com'//(SMTP server)
  
'smtp_port'=>'465'//(SMTP port)
  
'smtp_timeout'=>'30',
  
'smtp_user'=>'**********'//(user@gmail.com)
  
'smtp_pass'=>'**********'// (gmail password)
  
'mailtype' => 'html',
  
'charset' => 'utf-8',
  
'newline' => "\r\n",
 );
 
But Its not working,

Thanks in advance,

Bill 
 
Posted: 02 May 2012 06:27 AM   [ # 1173 ]   [ Rating: 0 ]
Joined: 2012-05-02
1 posts

Hello My friend Ben.

Thanks you and thanks for your solution,Ion Auth.

I have used Ion Auth in my project and I want to customize user table but I have not understood yet.
please show me how to change it or where i can find a proper post in order to solve my problem.

Thanks for your help.

 
Posted: 02 May 2012 12:29 PM   [ # 1174 ]   [ Rating: 0 ]
Joined: 2011-10-23
113 posts

Hi,

I have got it working.

the steps are:

1) change in application/config/ion_auth.php:

$config['use_ci_email']false;
$config['email_config']         'email'

2) create new config file called email.php, with the following content:

<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

/*
| -------------------------------------------------------------------------
| Email
| -------------------------------------------------------------------------
| This file lets you define parameters for sending emails.
| Please see the user guide for info:
|
| http://ellislab.com/codeigniter/user-guide/libraries/email.html
|
*/
$config['protocol']='smtp';

$config['smtp_host']='ssl://smtp.googlemail.com'//(SMTP server)

$config['smtp_port']='465'//(SMTP port)

$config['smtp_timeout']='30';

$config['smtp_user']='realoption11@gmail.com'//(user@gmail.com)

$config['smtp_pass']='qwertyuiop93'// (gmail password)


$config['mailtype''html';
$config['charset''utf-8';
$config['newline'"\r\n";


/* End of file email.php */
/* Location: ./application/config/email.php */ 

3) drop it into the application/config folder.

It should work now,

Regards,

Bill

 

 
Posted: 03 May 2012 01:02 AM   [ # 1175 ]   [ Rating: 0 ]
Joined: 2012-04-30
12 posts

I downloaded Ion Auth library. I’m very new to codeigniter and need a little guidance using your library. Think of my site as being similar to craigslist.


I have 4 types of users
Listers- people who list ads
Viewers - People who view ads
One- Time - Listers (They dont have a subscription, they can only post one ad (pay as you go type thingy)
Admin - activate all of the above

Question - how do I set up these different users——?

 
78 of 89
78