indenting

Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
Rob Gill
2018-05-15 10:55:46 +10:00
committed by GitHub
parent c2a9e80db6
commit 30bef67a88

View File

@@ -43,8 +43,9 @@
if (isset($_COOKIE["persistentlogin"]))
{
if ($pwhash = $_COOKIE["persistentlogin"])
{ $auth = true;
// Refresh cookie with new expiry
{
$auth = true;
// Refresh cookie with new expiry
setcookie('persistentlogin', $pwhash, time()+60*60*24*7);
}
else