Automatically change user when its selected (server side)
This commit is contained in:
parent
6d30db3ca0
commit
ee75e0ea06
|
@ -89,7 +89,7 @@ if ($count == 0)
|
||||||
echo "<b>No user found</b><br/>\n";
|
echo "<b>No user found</b><br/>\n";
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
echo "<b>User</b> <select id=\"selected_user\" name=\"user\" onchange=\"document.getElementById('master_key').value = ''\">" . "\n";
|
echo "<b>User</b> <select id=\"selected_user\" name=\"user\" onchange=\"document.getElementById('master_key').value = '';update_master_key(false);\">" . "\n";
|
||||||
foreach($users as $u)
|
foreach($users as $u)
|
||||||
{
|
{
|
||||||
if (is_dir("./users/" . $u) && $u[0] != '_' && $u[0] != '.')
|
if (is_dir("./users/" . $u) && $u[0] != '_' && $u[0] != '.')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user