ghostff

Results 15 comments of ghostff

i switch to a new pc, and installed fuel 1.8.0, it generates a token by itself (didnt include `Security::set_token()`, `Security::fetch_token()` and `security.csrf_autoload` is `false`), logs me out after the second...

like i validate CSFR before login more like `if (Security::check_token(Input::post('__token'))) { ..}` and it happens to be true without `Security::set_token()`, `Security::fetch_token()` or `security.csrf_autoload` enabled and yes i updated [code sample](https://3v4l.org/LOOYn)

i just post the form once, and its logs me in. but after multiple(2) page refresh, i get logged out. question is why is it passing the `Security::check_token` when token...

like if i login it takes me to account.page but when i refresh the account.page it logs me out.

am not sure if doing it right i have a token of (length=570) after login (length=698) on account.page refresh (length=570)(when i get logged out)