mirror of
https://github.com/kepler155c/opus
synced 2025-12-18 06:08:06 +00:00
api cleanup
This commit is contained in:
@@ -9,6 +9,10 @@ function Security.verifyPassword(password)
|
||||
return config.password and password == config.password
|
||||
end
|
||||
|
||||
function Security.hasPassword()
|
||||
return not not config.password
|
||||
end
|
||||
|
||||
function Security.getSecretKey()
|
||||
Config.load('os', config)
|
||||
if not config.secretKey then
|
||||
|
||||
Reference in New Issue
Block a user