GithubHelp home page GithubHelp logo

sms's Introduction

SMS Login

A Flarum extension. Allow users to log in with SMS

重要说明

  1. 本扩展目前仅支持阿里云SMS
  2. 本扩展未做多语言包
  3. 用户名默认取手机号前3位+后2位,若重复会自动增加随机字符串。
  4. 建议搭配官方扩展 nicknames 使用,开启并设置所有用户可编辑自己的昵称。然后在基本设置中将User Display Name 设置为 nickname
  5. 如果后续用户多的话,会进行调整以支持短信服务商和其他语言。

注意:申请短信模板时,模板内容中,验证码对应变量名称为 ${code}

Installation

composer require march/flarum-ext-auth-sms
php flarum cache:clear

Updating

composer update march/flarum-ext-auth-sms
php flarum cache:clear

Links

sms's People

Contributors

cpluscc avatar

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.