Merge pull request #15 from Kan18/patch-1

fix no password error
This commit is contained in:
kepler155c 2019-07-27 13:43:58 -06:00 committed by GitHub
commit 25bfce0e40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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
--[[