Commit 782276c2 authored by Ad Schellevis's avatar Ad Schellevis
parent df3deae0
...@@ -113,12 +113,12 @@ include("head.inc"); ...@@ -113,12 +113,12 @@ include("head.inc");
<td><select name="authmode" id="authmode" class="form-control" > <td><select name="authmode" id="authmode" class="form-control" >
<?php <?php
$auth_servers = auth_get_authserver_list(); $auth_servers = auth_get_authserver_list();
foreach ($auth_servers as $auth_server): foreach ($auth_servers as $auth_server_id => $auth_server):
$selected = ""; $selected = "";
if ($auth_server['name'] == $pconfig['authmode']) if ($auth_server['name'] == $pconfig['authmode'])
$selected = "selected=\"selected\""; $selected = "selected=\"selected\"";
?> ?>
<option value="<?=$auth_server['name'];?>" <?=$selected;?>><?=$auth_server['name'];?></option> <option value="<?=$auth_server_id;?>" <?=$selected;?>><?=$auth_server['name'];?></option>
<?php endforeach; ?> <?php endforeach; ?>
</select> </select>
</td> </td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment