Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorrocoso
    • CommentTimeSep 4th 2007
     # 1
    Hi
    I have been searching and reading this forum before asking this question. I know its asked alot, i just cant figure it out.
    My main site is is using a custom login with no MD5. My data base tables are matching. Users are able to login to vanilla forum. Is there a easy way to make the People.ClassAuthenticator.php match the username and password so the auto login will just work :)? I have tryed everything and have read every post here :)

    Thank You

    I
    • CommentAuthorGrahack
    • CommentTimeSep 5th 2007 edited
     # 2
    Hi, rather than hacking the Vanilla authenticator, I suggest the coding of your own authenticator: just copy
    library/People/People.Class.Authenticator.php


    Maybe you'll just have to tweak the lines under
    // Retrieve matching username/password values


    Then edit the conf/settings.php file and adding the following lines:

    // My Authenticator
    $Configuration['AUTHENTICATION_MODULE'] = 'People/People.Class.MyAuthenticator.php';

    Note: sometimes the docs are useful too !
    • CommentAuthorrocoso
    • CommentTimeSep 7th 2007
     # 3
    Thanks for the response.
    I have tryed getting the People.Class.Authenticator.php to work. My site works with sessions
    weird i have both configured to share the same session.
    •  
      CommentAuthorMax_B
    • CommentTimeSep 9th 2007 edited
     # 4
    I'm not sure, reading your post, if you want to share the same session, or have it distinct.
    Sharing is the default, under the name PHPSESSID. If your own site authentication use a specific session name (recommended, IMO, to avoid multiple software on the same host overwriting each others common variables such as "User"), just set the same name on the Vanilla session, by adding in your authenticator module a session_name()call:if (!session_id()) { session_name($this->Context->Configuration['YourSessionConfigVariable']); session_start(); }
    BTW: I suggested to Mark, one year ago to add a session NAME to Vanilla. Should we add it to bug tracker?
    •  
      CommentAuthorDinoboff
    • CommentTimeSep 9th 2007 edited
     # 5
    never mind,
    (I posted on the wrong forum...
    http://lussumo.com/bugs/discussion/21/add-a-sessionname-/#Item_2)
    • CommentAuthorrocoso
    • CommentTimeSep 12th 2007
     # 6
    I got it working using this post
    http://lussumo.com/community/?CommentID=54642
    :)
    just cant figure out that people authenticator..

    thanks
Add your comments
    Username Password
  • Format comments as