passport-userapp
Version:
Password and token authentication strategy using UserApp for Passport
10 lines (8 loc) • 352 B
HTML
<p>Please log in</p>
<form ua-login ua-error="error-msg">
<input name="login" placeholder="Username"><br>
<input name="password" placeholder="Password" type="password"><br>
<p><button type="submit">Log in</button> or <a href="" ua-oauth-link="google">Log in with Google</a></p>
<p id="error-msg"></p>
</form>
<p><a href="#/signup">Sign up</a></p>