mirror of
https://github.com/kepler155c/opus
synced 2025-01-05 21:30:28 +00:00
fix no password error
This commit is contained in:
parent
b3efbc7438
commit
b739c0c77e
@ -125,7 +125,7 @@ function page.wizard.pages.label:validate()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function page.wizard.pages.password:validate()
|
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))
|
Security.updatePassword(SHA.compute(self.newPass.value))
|
||||||
end
|
end
|
||||||
--[[
|
--[[
|
||||||
|
Loading…
Reference in New Issue
Block a user