javascript - Meteor account-ui: How do I create a user with email and password then ask them to complete a profile once logged in? -
i've installed account-ui package meteor, that's working fine. i've created schema use create form using autoform package , working fine.
i ran "meteor reset" clear database. went through process of creating user. entered email address , password clicked "create" , got error saying required field missing. field appears on schema guess understandable displays.
i'm happy default form asks email address , password.
my question this, how allow user sign email address , password , once logged in complete profile defined in schema?
perhaps method helps 1. user inputs email , password 2. if there's activation email sent ( included activation email link complete thier profile) 3. upon signing in first time redirected thier profile page theyay complete thier profile if wished
<template name="signup"> <form action="/sign-up" id="signupform" method="post"> <input id="signupemail" name="email" placeholder="email address" type="text" > <input id="signuppassword" name="password" placeholder="password" type="password"> <input id="signuppasswordconfirm" name="password-confirm" placeholder="confirm" type="password"> <input class="btn-submit" type="submit" value="join meteorites!"> </form> <!-- end #sign-up-form --> </template>
that should bit similar have, need able recongnizes first logins attempts :) afterword make event upon first login being true, event simple link profile page :) i'm extremely sorry if doesn't :(
hope helps :) luck :)
Comments
Post a Comment