Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2020-02-18 13:32:17

Vybez
New member
Registered: 2020-02-16
Posts: 4

auto logout

So ive setup my forums but whenever i login I it auto logs me out, here is the debug information:
0.00044     SET NAMES 'utf8'
0.00094     SELECT u.*, g.*, o.logged, o.last_post, o.last_search FROM users AS u INNER JOIN groups AS g ON u.group_id=g.g_id LEFT JOIN online AS o ON o.ident='myip' WHERE u.id=1
0.00065     UPDATE online SET logged=1582033018 WHERE ident='myip'
0.00038     SELECT user_id, ident, logged, idle FROM online WHERE logged<1582032718
0.00055     SELECT * FROM users WHERE username='vybez'
0.00035     UPDATE `users` SET `nopass` = 'mypass`?dv' WHERE `id` = '1'
0.00083     DELETE FROM online WHERE ident='myip'

Offline

#2 2020-02-18 14:02:53

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,383
Website

Re: auto logout

Database queries do not affect login/logout.
Look at the cookies that the forum sets.

Offline

#3 2020-02-18 14:30:10

Vybez
New member
Registered: 2020-02-16
Posts: 4

Re: auto logout

Visman wrote:

Database queries do not affect login/logout.
Look at the cookies that the forum sets.

where would i find the cookies? big_smile

Offline

#4 2020-02-18 15:50:59

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,383
Website

Re: auto logout

login
https://github.com/fluxbb/fluxbb/blob/m … hp#L81-L85

Then, each time you open the forum page, the installed cookie is automatically updated if the include/common.php file is connected.

Offline

Board footer

Powered by FluxBB