Coder Social home page Coder Social logo

accounts-phone's Introduction

Accounts-Phone

An account login system forked from accounts-phone meteor package.

Work with accounts-password

We have adjusted the package to make it work with accounts-password package. To make it work, the accounts-password package must be added at application level but not the package level. Probably this has something to do with the loading order of the packages.

update: As we have added email address to user identifier in this package, do we really need accounts-password?

Alidayu-node

We use alidayu-node to send sms through alidayu sms service. See document https://github.com/hanqingnan/alidayu-node .

Configuration

Modify SMS.phoneTemplates in sms_server.js to change the message templates.

Workflows

Create new user

  1. Client calls 'createUserWithPhone'.
  2. Server inserts new user to users collection.
  3. Server sets and sends verification code to user if so defined.
  4. User enters verification code and logs in.

Request verification code

  1. Client calls 'requestPhoneVerification'.
  2. Server sets and sends new verification code. Waits if the request is too often or exceeds limit.
  3. User enters code.
  4. Client calls 'verifyPhone' to verify the code. If new password is submitted, password will be reset after verification.

accounts-phone's People

Contributors

okland avatar idanwe avatar

Stargazers

Comus Leong avatar srib avatar

Watchers

James Cloos avatar

Forkers

srib1997

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.