summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/authenticator.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/authenticator.lua b/lib/authenticator.lua
index 17b477d..1f312ec 100644
--- a/lib/authenticator.lua
+++ b/lib/authenticator.lua
@@ -195,7 +195,7 @@ get_userinfo_skin = function(self, userid)
if id then
skin.value = id.skin or skin.value
elseif userid then
- skins.errtxt = "Could not load skin"
+ skin.errtxt = "Could not load skin"
end
-- Call into skins controller to get the list of skins
local contrl = self:new("acf-util/skins")
@@ -204,6 +204,7 @@ get_userinfo_skin = function(self, userid)
for i,s in ipairs(skins.value) do
skin.option[#skin.option + 1] = s.value
end
+ table.sort(skin.option)
return skin
end