Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6782201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:42:47+00:00 2026-05-26T16:42:47+00:00

I have uncomment in module loader to load auth, but what I am not

  • 0

I have uncomment in module loader to load auth, but what I am not understanding is that how to tell auth module that which fields of which table it should use to authenticate? I also didn’t find that in userguide in Kohana 3 as I found that userguide for auth module is not present.

So please tell if some one is already using it. And if it use some default fields of some table then how can I modify it?

thanks for reading my question and your effort to answer it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:42:48+00:00Added an answer on May 26, 2026 at 4:42 pm

    Here are the steps for you

    • Uncomment the Auth module in bootstrap.php (you have done it already)
    • in ORM Module, yes in ORM Module you will find auth-schema-mysql.sql & auth-schema-postgresql.sql. Use the one you needed.
    • configure the config file auth.php as needed. Below is the configuration I am using.

      <?php defined('SYSPATH') or die('No direct access allowed.');
      return array(
          'driver'       => 'ORM',
          'hash_method'  => 'sha256',
          'hash_key'     => "ica_hash_key",
          'lifetime'     => Date::MINUTE * 30,
          'session_type' => 'database',
          'session_key'  => 'auth_user',
      );
      
    • set Cookie::$salt in bootstrap.php. Add this line in your bootstrap.php.

      Cookie::$salt = 'YourSecretCookieSalt';
      
    • you are done with Auth module configuration 😉


    As you have configured auth module, obviously you have executed the sql script. You will get users, roles, roles_users & users_tokens table created in your database.

    Now you can change users table with adding more column. As you are using ORM, Model_User is already there for you which is an ORM 🙂

    So this should be all, i believe.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project which has a makefile: # a simple makefile # Uncomment,
It is not uncommon for me (or likely anyone else) to have a list
I have a datagridview which we will call dataGridViewExample. My object (the uncommon datatypes
Have just started using Visual Studio Professional's built-in unit testing features, which as I
I have uncomment the following from the php.ini file ;extension=php_bz2.dll extension=php_curl.dll ;extension=php_dba.dll Also ,I
I have a bunch of .properties file and .xml files. Can I comment/uncomment some
I'm writing a library that needs to have some code if a particular library
I have a mission critical Perl-CGI server-side application that I need to extend or
I have a sequence of migrations in a rails app which includes the following
I have 2 references to jQuery in my master page which is currently configured

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.