Check 2FA

Checks if a user has 2FA enabled.

App.Has2FA("username").then(h2faResponse => {
	if(h2faResponse.error == false){
		console.log(h2faResponse.status);
	}else{
		console.log(h2faResponse.message);
	}
})

Last updated