diff --git a/src/apis/sertexID.lua b/src/apis/sertexID.lua index 89d8116..2f9301a 100644 --- a/src/apis/sertexID.lua +++ b/src/apis/sertexID.lua @@ -41,7 +41,7 @@ function register(username, password, isHashed) end function checkUser(username) - local check = http.post(SERVER.."check.php", "user="..username).readAll() + local check = http.post(SERVER.."exists.php", "user="..username).readAll() if check == "true" then return true else @@ -49,6 +49,8 @@ function checkUser(username) end end +exists = checkUser + function sendSMS(username, password, to, msg, isHashed) if isHashed then local send = http.post(SERVER.."send.php","user="..username.."&password="..password.."&to="..to.."&message="..message.."&hashed=true").readAll()