signup2
Prerequisites
Dependent Libraries
<script src="https://TML.ink/X.tml"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.1.1/socket.io.js"></script>Create a client instance
tim = TML('wss://x.TML.ink'); //Create a client instanceSign up a new user without password
tim.Signup("[email protected]").then(function(data) {
alert("Your password is "+data.pwd+".\nAn email has been sent to your email address.");
})
.catch(function(err) {
alert("User already exists.");
});Complete codes of Sign Up without password
Last updated