Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Custom login form

How can I code af custom HTML form for login to Vanilla from another page on same domain?

I can see that Vanilla's own form make some kind of hash, so I guess I need to generate and include this hash also on my own form.

Anybody have any idea how I should do this?


  • Options


  • Options
    edited February 2012

    Oh. Its quite simple:

    <form id="Form_User_SignIn" method="post" action="boardURL/entry/signin">                   
       <input type="hidden" id="Form_Target" name="Form/Target" value="discussions">
       <input type="hidden" id="Form_hpt" name="Form/hpt" value="" style="display: none;">                  
       <input type="text" id="Form_Email" name="Form/Email" value="" class="InputBox">                  
       <input type="password" id="Form_Password" name="Form/Password" value="" class="InputBox Password">                               
       <input type="submit" id="Form_SignIn" name="Form/Sign_In" value="SignIn" class="Button">
       <input type="checkbox" id="SignInRememberMe" name="Form/RememberMe" value="1" checked="checked"><input type="hidden" name="Checkboxes[]" value="RememberMe">  
Sign In or Register to comment.