login_(){
const config = {
headers: {
'Content-Type': 'application/json'
}
}
let requestBody = {
user : this.ad_user,
pass : this.ad_pass
}
const json = JSON.stringify(requestBody)
let end_point = "https://otp.rtaf.mi.th/api/v2/mfa/login"
axios.post( end_point, json, config )
.then(response => {
if( response.data.result == "Process-Complete" ){
localStorage.setItem( '$test-token', response.data.token );
}
})
}