Commit 27ffbdd8 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 19db22fe
......@@ -34,7 +34,7 @@ async function isAuthUser(user, pass, cb) {
}
async function radius(user, pass) {
let a = await shell.exec('radtest ' + user + ' ' + pass + ' ' + '54.38.189.114 0 testing123', {silent: true}).stdout;
let a = await shell.exec('radtest ' + user + ' ' + pass + ' ' + '172.17.0.1 0 testing123', {silent: true}).stdout;
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