From e3109398d94f00dfeb4f518a8e3db2e713ef7195 Mon Sep 17 00:00:00 2001 From: Phyks Date: Sun, 29 Dec 2013 18:41:55 +0100 Subject: [PATCH] Forgot to edit some fields after previous update... :/ --- index.php | 1 + install.php | 1 + 2 files changed, 2 insertions(+) diff --git a/index.php b/index.php index 5f7864e..4691af8 100755 --- a/index.php +++ b/index.php @@ -241,6 +241,7 @@ $user->setPassword($user->encrypt($_POST['password'])); } $user->setAdmin($_POST['admin']); + $user->setStaySignedInToken(""); if($user->setEmail($_POST['email']) !== false) { if(!empty($_POST['user_id']) || $user->isUnique()) { diff --git a/install.php b/install.php index a76a134..af6cf90 100755 --- a/install.php +++ b/install.php @@ -91,6 +91,7 @@ $admin->setPassword($admin->encrypt($_POST['admin_password'])); $admin->setAdmin(true); $admin->setEmail($_POST['email_webmaster']); + $admin->setStaySignedInToken(""); $admin->setNotifications(3); $admin->newJsonToken(); $admin->save();