mirror of
https://github.com/kepler155c/opus
synced 2025-10-14 15:27:40 +00:00
security start
This commit is contained in:
@@ -67,6 +67,11 @@ function os.getSecretKey()
|
||||
return Util.readFile('.secret')
|
||||
end
|
||||
|
||||
function os.getPassword()
|
||||
Config.load('os', config)
|
||||
return config.password
|
||||
end
|
||||
|
||||
os.lock = function()
|
||||
--os.locked = true
|
||||
|
||||
|
Reference in New Issue
Block a user