Part of the EllisLab Network
   
47 of 48
47
Tank Auth v1.0 (CI authentication library)
Posted: 28 December 2011 10:55 PM   [ Ignore ]   [ # 461 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  237
Joined  05-05-2009
onuryasar - 28 December 2011 10:14 AM

is there a way to disable “forgot password” with config or do i need to disable it manually?

just remove the forgot password function

Profile
 
 
Posted: 29 December 2011 10:58 AM   [ Ignore ]   [ # 462 ]  
Summer Student
Total Posts:  2
Joined  12-25-2011

Hi,
I am trying to use captcha in registration. I see the captcha image on the page. I write it and post data. In _check_captcha callback function I see $code as what I write. But strangely $this->session->flashdata(‘captcha_word’); is different from what is set previously. What is wrong with session data? It seems _create_captcha works twice? I see same thing captcha_time.

Profile
 
 
Posted: 02 January 2012 07:58 AM   [ Ignore ]   [ # 463 ]  
Summer Student
Total Posts:  21
Joined  10-14-2011

How to change the HTML mail that is sent during Registration . I have changed the mail type to text but it is not working

Profile
 
 
Posted: 02 January 2012 09:12 AM   [ Ignore ]   [ # 464 ]  
Summer Student
Avatar
Total Posts:  4
Joined  01-02-2012

is there any body that can give me a complete documentation about thank_auth instead of a bit information writen in : http://www.konyukhov.com/soft/tank_auth/

is there any documentation about tank_auth writen like ion_auth documentation : http://benedmunds.com/ion_auth/

o ya.. i found a modified tank_auth script here: http://codeigniter.com/forums/viewthread/202660/

Profile
 
 
Posted: 12 January 2012 02:55 AM   [ Ignore ]   [ # 465 ]  
Summer Student
Total Posts:  1
Joined  01-12-2012

I have a question about Tank Auth I was hoping someone could help me with. 

I am trying to use file_get_contents() within my PHP application to retrieve the html on a page within my application that is behind the Tank Auth login screen.  When I use the function with the URL of the page I am trying to get the html from, such as file_get_contents(http://www.testapplication.com/test) all it does is pull down the login screen html.

I know you can use something like this to add authentication to the file_get_contents() function, but it doesn’t seem to work with Tank Auth:
$username = ‘username’;
$password = ‘password’;
 
$context = stream_context_create(array(
  ‘http’ => array(
      ‘header’  => “Authorization: Basic ” . base64_encode(”$username:$password”)
  )
));
$data = file_get_contents($url, false, $context);

Can anyone provide me with some information to help me accomplish this?

Thank you very much in advance,

Profile
 
 
Posted: 22 February 2012 11:11 AM   [ Ignore ]   [ # 466 ]  
Summer Student
Total Posts:  3
Joined  09-12-2011

Hello people,

I’m having some problems showing the $message on /auth/ when people activate their account on my site.

For some reason, the flashdata that is set through _show_message, is not being displayed on my general message view, that is called on index() of auth. So index sends me to the login form instead.

Anyone familiar with this?

Profile
 
 
Posted: 22 February 2012 08:38 PM   [ Ignore ]   [ # 467 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  237
Joined  05-05-2009
tykho - 22 February 2012 11:11 AM

Hello people,

I’m having some problems showing the $message on /auth/ when people activate their account on my site.

For some reason, the flashdata that is set through _show_message, is not being displayed on my general message view, that is called on index() of auth. So index sends me to the login form instead.

Anyone familiar with this?

When people activate their account, the library actually ‘logs them out’ before returning them to the index page.

This destorys the session - and thus you lose your flash message.

The way around it is to create a new session after auth, and then set the flash message.

 

Profile
 
 
Posted: 24 February 2012 11:23 AM   [ Ignore ]   [ # 468 ]  
Summer Student
Total Posts:  18
Joined  06-15-2008

Hi Gromozeka,

Could you tell me what the alphanumeric restriction is for, on the chosen password?

People like to choose more complex passwords than that.

Profile
 
 
Posted: 19 March 2012 01:35 PM   [ Ignore ]   [ # 469 ]  
Summer Student
Total Posts:  1
Joined  03-19-2012

Hello,

  I have gotten TankAuth up and running without a problem. Nice Job! I love it.  However, I cannot find an example of how to use the user profile. How would I do something like this:

$this->tank_auth->get_user_profile()

I see in the code how to set and delete, but no get.

What am I missing?

Profile
 
 
Posted: 26 April 2012 04:23 PM   [ Ignore ]   [ # 470 ]  
Grad Student
Rank
Total Posts:  53
Joined  10-23-2011

Hi everyone,

Tank Auth is a fantastic library and has saved me a lot of time. I am having one problem with its native catpcha functionality however. I am consistently failing its test. I am worried that my users may give up before registering! Can anyone recommend anything to improve readability for humans? I have tried setting :

$config['captcha_case_sensitive'FALSE

but I don’t think this works. I also read http://ericbae.com/2011/03/22/modify-tank-auth-captcha-feature/

but am unable to find the helper file he discusses.

I would appreciate any thoughts on what to do here to make the catpcha test easier to pass.

Thanks in advance,

KC

Profile
 
 
   
47 of 48
47