Commit f46cf1a3 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 46b3c404
Pipeline #105 canceled with stages
......@@ -37,6 +37,7 @@ async function isAuthUser(user, pass, cb) {
async function radius(user, pass) {
let a = await shell.exec('radtest ' + user + ' ' + pass + ' ' + '109.237.27.107 0 testing123', {silent: true}).stdout;
console.log(a)
return a.includes("Access-Accept") === true
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment