1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-26 01:11:28 +02:00

Closes #5107 Prevent duplicate.

This commit is contained in:
camer0n
2023-11-23 06:57:09 -08:00
parent 9285c24e86
commit caddf3c95d

View File

@@ -95,6 +95,7 @@ class alt_auth_admin extends alt_auth_base
{ {
$optList = explode(',', $options); $optList = explode(',', $options);
$authList = array_merge($optList, self::alt_auth_get_authlist()); $authList = array_merge($optList, self::alt_auth_get_authlist());
$authList = array_unique($authList);
$ret = "<select class='tbox' name='{$name}'>\n"; $ret = "<select class='tbox' name='{$name}'>\n";
foreach ($authList as $v) foreach ($authList as $v)
{ {