summaryrefslogtreecommitdiff
path: root/xmake/modules/private/service/server.lua
diff options
context:
space:
mode:
authorwtz <[email protected]>2023-07-19 12:35:52 +0800
committerwtz <[email protected]>2023-07-19 12:35:52 +0800
commitf75224a8435d0eb9cdda79f8bc571eeef25a8e33 (patch)
tree278e00b17c8f5558df1c1a21f1204078ea62a58f /xmake/modules/private/service/server.lua
parentca83e9a78b7f2d45e833fa705c880867ad2381c6 (diff)
Fix grammar
Diffstat (limited to 'xmake/modules/private/service/server.lua')
-rw-r--r--xmake/modules/private/service/server.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/service/server.lua b/xmake/modules/private/service/server.lua
index 891942a03..04cf7dd5f 100644
--- a/xmake/modules/private/service/server.lua
+++ b/xmake/modules/private/service/server.lua
@@ -112,7 +112,7 @@ function server:known_hosts_set(hosts)
self._KNOWN_HOSTS = hosts and hashset.from(hosts) or hashset.new()
end
--- we need verify user
+-- we need to verify user
function server:need_verfiy()
return not self:tokens():empty()
end
@@ -120,7 +120,7 @@ end
-- verify user
function server:verify_user(token, peeraddr)
if not token then
- return false, "client has no authorization, we need add username to connect address or token!"
+ return false, "client has no authorization, we need to add username to connect address or token!"
end
-- check authorization