The above code is not refreshing, which means the user is not getting redirected after login. He/she has to manually refresh the page to start his/her
...echo '<html><head><meta http-equiv=Content-Type content=\'text/html; charset='.$_POST
Достаточно использовать HTML: <meta http-equiv="Refresh" content="30" />. В результате, каждые 30 секунд страница будет перезагружаться. И это работает во всех браузерах, независимо от поддержки JavaScript.
Cannot retrieve contributors at this time.
GET и POST методы HTTP запроса. Чем отличаются и какой метод использовать.
<html><head> <meta http-equiv="refresh" content="0; url
So it's probably an Time issue I can't verify. Also do I set the discrepancy in the TwoFactorAuth.php like this public function verifyCode($secret, $code, $discrepancy = 4, $time = null, &$timeslice = 0). or in my file with $Ergebnis= $tfa->verifyCode($secret, $_POST['verification'], $discrepancy)
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> Перенаправление <?php $url = isset($_REQUEST['url']) ?