1 (edited by N3twork2 2009-05-18 20:13)

Topic: Bug when login ! (integrated punbb)

Hello

I have a bug

A have a link in my site

/Index  << website
/forums/index.php

I have put the link /forums/login.html in my website no problem, members connected and the redirection URL is bad ... i think it's "csrf_token" who bug ...

Because redirect_URL il OK ...
<input type="hidden" name="redirect_url" value="http://www.website.com/forums/login.html" />
<input type="hidden" name="csrf_token" value="ff9f327c100ae47cc6ecaf95cc042ac773405883" />

Thank for your support.

Re: Bug when login ! (integrated punbb)

If you have some problem with csrf token, the forum generates a special form for its (csrf token's) confirmation

N3twork2 wrote:

the redirection URL is bad ...

What do you mean by "bad" redirection URL?
The redirection URL in your code is "http://www.website.com/forums/login.html". After user's authorization, the forum will redirect again to "/forums/login.html", and, as user was authorized, the forum will redirect him to "/forums/index.php".