Hello!
Unsure if my topic is for this category, but I will post it here.
I know that every month the forum logs out the accounts, but this month I'm getting kicked out of my account every hour or so (today at least 4 times). When I become "inactive" (refresh forum for hour or so), it just kicks me out.
The forum automatically have the option for auto log in every time you open enabled. Its checked, so its not that too.
I decided to test that if its something related to my browser (cleared cache and etc), but no - I get kicked out from Opera, Google Chrome and Brave (none of other members of the forum have that problem...on phone - its all fine too, no random log outs). I got twice, i believe, kicked out from this forum here too, so its not just my forum that make the problem, seems like.
First I though it may be some bug or something, or like the usual "every month it logs us out" but seems like its not that. I dont know if new added code for Switch Accounts can be related to this problem, so i will provide the code too. But again - noone other of my members experience this. I saw another recent topics with same problem.
This is the code for switch accounts widget:
Link to the forum as i assume you would like to inspect: https://odnovreme.forumotion.eu
Version phpBB2.
Thanks in advance for help and will keep updated if another forum (beside the provided one) kicks me out after some time.
Unsure if my topic is for this category, but I will post it here.
I know that every month the forum logs out the accounts, but this month I'm getting kicked out of my account every hour or so (today at least 4 times). When I become "inactive" (refresh forum for hour or so), it just kicks me out.
The forum automatically have the option for auto log in every time you open enabled. Its checked, so its not that too.
I decided to test that if its something related to my browser (cleared cache and etc), but no - I get kicked out from Opera, Google Chrome and Brave (none of other members of the forum have that problem...on phone - its all fine too, no random log outs). I got twice, i believe, kicked out from this forum here too, so its not just my forum that make the problem, seems like.
First I though it may be some bug or something, or like the usual "every month it logs us out" but seems like its not that. I dont know if new added code for Switch Accounts can be related to this problem, so i will provide the code too. But again - noone other of my members experience this. I saw another recent topics with same problem.
This is the code for switch accounts widget:
- Code:
<script type="text/javascript">
function switch_accounts() {
jQuery.get(document.getElementById('logout').href, function() {
jQuery.post('/login', 'login=1&username='+document.getElementById('switch_uname').value+'&password='+document.getElementById('switch_pass').value, function () {
window.location.reload();
});
});
}
</script>
<div align="center">
<hr /><input id="switch_uname" type="text" /> <input id="switch_pass" type="password" />
<hr /><input type="button" value="Смени" onclick="switch_accounts();" />
<hr />
</div>
Link to the forum as i assume you would like to inspect: https://odnovreme.forumotion.eu
Version phpBB2.
Thanks in advance for help and will keep updated if another forum (beside the provided one) kicks me out after some time.