Questions tagged [tankauth]

Tank Auth is an authentication library for PHP-framework CodeIgniter. It's based on DX Auth, although the code was seriously reworked.

Tank Auth is an authentication library for PHP-framework CodeIgniter. It’s based on DX Auth, althouth the code was seriously reworked.

The key points of the library are:

It’s simple:

  • Basic auth options (login, logout, register, unregister).
  • Very compact (less than 20 files and 4 DB-tables).
  • Username is optional, only email is obligatory.

It’s secure:

  • Using phpass library for password hashing (instead of unsafe md5).
  • Counting login attempt for bruteforce preventing (optional). Failed login attempts determined by IP and by username.
  • Logging last login IP-address and time (optional).
  • CAPTCHA for registration and repetitive login attempt (optional).
  • Unactivated accounts and forgotten password requests auto-expire.

It’s easy to manage:

  • Strict MVC model: controller for controlling, views for representation and library as model interface.
  • Language file support.
  • View files contain only necessary HTML code without redundant decoration.
  • Most of the features are optional and can be tuned or switched-off in well-documented config file.

It’s full featured:

  • Login using username, email address or both (depending on config settings).
  • Registration is instant or after activation by email (optional).
  • “Remember me” option.
  • Forgot password (letting users pick a new password upon reactivation).
  • Change password or email for registered users.
  • Email can be changed even BEFORE account is activated.
  • Ban user (optional).
  • User Profile (optional).
  • CAPTCHA support (CI-native and reCAPTCHA are available).
  • HTML or plain-text emails.

Tank Auth is tested in CI 1.7.0, but should be working for above version.

Library home: http://konyukhov.com/soft/tank_auth/

Download link: http://konyukhov.com/soft/tank_auth/tank_auth.zip

Project repository: https://github.com/ilkon/Tank-Auth/

173 questions
0
votes
1 answer

Codeigniter with tank auth update db table

I have a user profile form that allow user to change their information. Everything seem to be working fine, except when the form is submitted and profile table got updated but the input fields where to display user information didn't get updated. It…
Ya Fa Su
  • 160
  • 1
  • 4
  • 13
0
votes
3 answers

codeigniter tank_auth unable to view default forms

First time posting here love the site. So I started using CodeIgniter and wanted to add acl to my site. searched and read a lot and decide to go with tank auth. using: codeigniter 2.1.4 tank auth master IIS Download everything ran the scripts…
0
votes
1 answer

Values not getting saved in database in codeigniter tank auth

I have added two fields in a registration form of tank auth.Field with name fname and lname. I have added the same in the form_validation as you can see the controller file.But username,password,email is injected into database expect fname and…
Piya
  • 1,134
  • 4
  • 22
  • 42
0
votes
3 answers

What is the use of setting sess_use_database to TRUE in codeigniter tank auth?

$config['sess_use_database'] = TRUE; I have came across this in tank auth.Is it neccessary to save session data in database.Im new to this.Can some one tell me why? and what if , if I set it to FALSE.Will it affects the web application?
Piya
  • 1,134
  • 4
  • 22
  • 42
0
votes
1 answer

CI Session Not Wokoring After Change Email Codeigniter/Tank Auth

Hi I have my session set to true in codeigniter I use tank auth but when I go use my change email form. after re activating new email got to success page but loads up errors but when I view my database users table email has changed. The errors that…
0
votes
1 answer

codeigniter and tank auth error

Hi I am having trouble with my log in for my user menu. I am trying to get it so on the right side. When user is_logged_in can see there user name and the log out and on the left side still display the home, forum, and contact. But for some reason…
0
votes
1 answer

Making Tank_Auth user profiles codeigniter

I have set up on my test server codeigniter with tank_auth but I would like to know how I would be best to make sure when new user is registered make sure some selected data goes in to the database table user_profiles i.e. Country, Website, I am…
0
votes
1 answer

Can I change name of tankauth admin controller to be harder to find for baddies?

I think I should change the name of my TankAuth admin controller. The login page for my admin area is www.mysite.com/admin which is the first thing any mal-intented person or bot crawling the web for loop holes would guess. Before I make a mess of…
Tom
  • 1
  • 2
0
votes
0 answers

CodeIgniter - Add social media profile via login

I'm developing a CI application that, let's say for the purposes of this question, simply allows a user (registered through Tank Auth) to compile a list of their social media profiles (Facebook, Twitter, Google+, etc). The process for adding a…
Bobe
  • 2,040
  • 8
  • 29
  • 49
0
votes
1 answer

Can the Tank Auth login View not be embedded in a header?

The closest solution I've been able to find to my question is here: Keep Tank Auth on every page in CodeIgniter I'm wanting a quick login in the "header bar" across the top of my app. It's always present, and either shows a quick login…
Maxcot
  • 1,513
  • 3
  • 23
  • 51
0
votes
1 answer

Can't autoload Tank Auth with the Codenigitier

I was able to implement the Tank Auth library with my website, but have an issue when I move the autoload of the library from the Auth controller to the codeignitier autoload library. As you can see below I have commented out the auto load of the…
Mark O Keeffe
  • 191
  • 2
  • 15
0
votes
1 answer

Codeigniter Tank_auth adding fields

I use CI tank_auth library to have user's registration form and need to add new fields that tank_auth didn't come with. I did refer to this Tank Auth Adding Fields, but it never helps me to solve my doubt. Let's say, I want to have additional 'Name'…
conmen
  • 2,377
  • 18
  • 68
  • 98
0
votes
1 answer

display view as popup in codeigniter when tank authentication library is used

I am developing blog in codeigniter using tank authentication library(downloaded from net) As you know blog contain like/dislike button .When click on like button(a view page) ,first control is transfer to controller where it is checked whether…
zaya
  • 3
  • 1
  • 3
0
votes
1 answer

Apply recaptcha theme to tank auth

Tank auth recaptcha does not come with default. How can I apply recaptcha theme/custom theme to tank auth recaptcha? Tried adding following in page's tag but no luck.