ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

DX Auth 1.0.6 (Authentication library)

December 01, 2008 6:14am

Subscribe [160]
  • #526 / Aug 24, 2009 11:08am

    CARP

    181 posts

    I’d rather create a separate table for user’s profile (name, surname, addr., etc.)
    Then I’d put a userid field in this table, so you can link to the users table

  • #527 / Aug 27, 2009 10:15am

    gh0st

    130 posts

    Hi,

    I’m having a serious problem which I can’t seem to resolve.

    I installed DX Auth on localhost and have no problems, I uploaded the files and the database with 1 row for the user (the credentials are exactly the same).

    However, when I try to log in on the beta website it keeps going to /auth/deny/ saying my access is denied.

    Why does it do this, and how do I get around this problem to stop it denying me access and also, how do I do a var_dump to see what information on what went wrong.

    Thanks.

  • #528 / Aug 29, 2009 1:09pm

    Sai Perchard

    1 posts

    @Jonas G @danharper @gh0st

    I had the same problem when I was moving a website from a production server to a local development server.

    The problem arises due to the way the crypt() function is utilised by PHP on the different systems.

    Have a good read of http://us2.php.net/manual/en/function.crypt.php

    In my particular case, the production server was using the CRYPT_MD5 encryption type, and the development server was using CRYPT_EXT_DES. Because I dumped the database from the production server straight to the development server, the stored hashes were not appropriate for a crypt function using CRYPT_EXT_DES.

    Further, (and this is probably an important point), the default database schema provided on the dx_auth website assumes that the crypt() function will use the CRYPT_MD5 encryption type (as far as I can tell).

    As I only had a few users, I simply regenerated their passwords and updated the database manually, as per the following code;

    $password = $this->dx_auth->_encode('password');
    echo crypt($password, crypt($password));
  • #529 / Aug 31, 2009 12:11pm

    Lyma

    4 posts

    Someone has DXauth changed to work with postgresql?

  • #530 / Sep 01, 2009 4:01am

    RandyCram

    19 posts

    Hey so I just installed this and i am having some issues for some reason when ever i try to visit my pages ‘auth/login’ etc i just get a blank page. no errors nothing. I am running WAMP on my Windows XP with Apache 2.0.63, PHP 4.4.9 and MySQL 5.1.36 with PHPMyAdmin.

    Thanks in advance

  • #531 / Sep 04, 2009 7:01am

    dedrimk

    1 posts

    help me

    library: dx_auth.php

    error: Fatal error: Call to a member function on a non-object in /xxx/system/application/libraries/DX_Auth.php on line 803

    line 803: $query = $this->ci->login_attempts->check_attempts($this->ci->input->ip_address());

  • #532 / Sep 19, 2009 4:33am

    Amol Kharat

    3 posts

    How to remove extra optional functionality from dx_Auth i.e. i dont want user role, permissions

  • #533 / Sep 20, 2009 10:37am

    hugle

    289 posts

    How to remove extra optional functionality from dx_Auth i.e. i dont want user role, permissions

    just don’t use them. or simply delete related functions from .php files. But I think it’s easier just not to use

  • #534 / Sep 23, 2009 10:01am

    Johan André

    412 posts

    Great library!
    I looking into extending the functionality with custom permissions on users AND roles.
    What is the best way to do this as more methods are required in both the library and models?

  • #535 / Sep 28, 2009 1:42pm

    eric cumbee

    31 posts

    I was wondering if anyone else on media temple grid service is having trouble with dx auth? everytime i try it on MT it says library not found. i found one thread on the subject but the solution ended up being that the user was running in php4. i have confirmed that my domain is in php5.

  • #536 / Oct 19, 2009 5:01am

    taschentuch

    16 posts

    hi,

    i have a question is it possible to rewrite the custom permission for each role to something like custom permission for each user?

    thx

  • #537 / Oct 21, 2009 5:00pm

    dallen33

    88 posts

    Anyone else find that users don’t stay logged in for more than 2 hours? I always have to sign back in several times a day and I can’t figure out why. I’d rather have people log in and stay logged in for WEEKS! Not 2 hours!

    $config['DX_autologin_cookie_name'] = 'autologin';
    $config['DX_autologin_cookie_life'] = 60*60*24*31*2;
  • #538 / Oct 21, 2009 8:02pm

    hugle

    289 posts

    Anyone else find that users don’t stay logged in for more than 2 hours? I always have to sign back in several times a day and I can’t figure out why. I’d rather have people log in and stay logged in for WEEKS! Not 2 hours!

    $config['DX_autologin_cookie_name'] = 'autologin';
    $config['DX_autologin_cookie_life'] = 60*60*24*31*2;

    Hello
    I’m not sure, but you should also take a try at: config.php

    $config['sess_expiration']        = 7200;

    Maybe that helps you…

  • #539 / Oct 27, 2009 5:02pm

    dallen33

    88 posts

    Doesn’t work. When I quit my browser and go back to the website, I have to login.

  • #540 / Oct 30, 2009 3:14pm

    nsbingham

    9 posts

    Has anyone successfully used HMVC with DX_Auth? When I have them both installed on a fresh CI 1.7.2 install the login hangs for quite a while and sometimes times out. I do not have DX_Auth installed as a module, but just followed the install outlined on the DX_Auth site.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases