mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-27 09:21:29 +00:00
http user auth, password changer in preferences
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?
|
||||
session_start();
|
||||
|
||||
|
||||
require_once "version.php";
|
||||
require_once "config.php";
|
||||
require_once "db-prefs.php";
|
||||
@@ -8,9 +8,10 @@
|
||||
|
||||
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
|
||||
|
||||
$_SESSION["uid"] = PLACEHOLDER_UID; // FIXME: placeholder
|
||||
$_SESSION["name"] = PLACEHOLDER_NAME;
|
||||
authenticate_user($link);
|
||||
|
||||
// $_SESSION["uid"] = PLACEHOLDER_UID; // FIXME: placeholder
|
||||
// $_SESSION["name"] = PLACEHOLDER_NAME;
|
||||
|
||||
initialize_user_prefs($link, $_SESSION["uid"]);
|
||||
// FIXME this needs to be moved somewhere after user creation
|
||||
|
||||
Reference in New Issue
Block a user