From c62830525f93ae1524656872df4b28590f033fbd Mon Sep 17 00:00:00 2001 From: kkalev Date: Mon, 23 Sep 2002 12:38:18 +0000 Subject: [PATCH] Allow the user to add extra attributes in the test user page --- Changelog | 1 + htdocs/user_test.php3 | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/Changelog b/Changelog index 774e8c9..8e7f78f 100644 --- a/Changelog +++ b/Changelog @@ -7,6 +7,7 @@ Ver 1.60: * Add a few more comments in the admin.conf * Update the FAQ with an entry about the Online Users page not showing anything. * Update the FAQ with an entry about sessions. +* Allow the user to add extra attributes in the test user page Ver 1.59: * Small html fixes in user_edit.php3 and password.php3 * Show number of failed logins in the last 7 days in the user admin page diff --git a/htdocs/user_test.php3 b/htdocs/user_test.php3 index c71a83c..177716e 100644 --- a/htdocs/user_test.php3 +++ b/htdocs/user_test.php3 @@ -89,6 +89,8 @@ if ($test_user == 1){ fwrite($fp, "Password = \"$passwd\"\n"); else if ($auth_proto == 'chap') fwrite($fp, "CHAP-Password = \"$passwd\"\n"); + if (strlen($extra)) + fwrite($fp,$extra); pclose($fp); } $reply = file($tmp_file); @@ -160,6 +162,14 @@ Radius Server Port +Extra Attributes + + + + + + + Authentication Protocol -- 2.39.5