fix no password error #15

Merged
Kan18 merged 1 commits from patch-1 into develop-1.8 2019-07-27 15:43:59 -04:00

View File

@@ -125,7 +125,7 @@ function page.wizard.pages.label:validate()
end
function page.wizard.pages.password:validate()
if #self.newPass.value > 0 then
if type(self.newPass.value) == "string" and #self.newPass.value > 0 then
Security.updatePassword(SHA.compute(self.newPass.value))
end
--[[