Merge 32e7a107e2
into 6368caeb5a
This commit is contained in:
commit
83671a30b3
1 changed files with 2 additions and 2 deletions
|
@ -75,9 +75,9 @@ end
|
||||||
function metat.__index:login(user, password)
|
function metat.__index:login(user, password)
|
||||||
self.try(self.tp:command("AUTH", "LOGIN"))
|
self.try(self.tp:command("AUTH", "LOGIN"))
|
||||||
self.try(self.tp:check("3.."))
|
self.try(self.tp:check("3.."))
|
||||||
self.try(self.tp:command(mime.b64(user)))
|
self.try(self.tp:send(mime.b64(user) .. "\r\n"))
|
||||||
self.try(self.tp:check("3.."))
|
self.try(self.tp:check("3.."))
|
||||||
self.try(self.tp:command(mime.b64(password)))
|
self.try(self.tp:send(mime.b64(password) .. "\r\n"))
|
||||||
return self.try(self.tp:check("2.."))
|
return self.try(self.tp:check("2.."))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue