Git Product home page Git Product logo

Comments (4)

nightire avatar nightire commented on June 15, 2024

从产品的角度来看,不建议只输入一次密码。因为重复输入的意义就在于避免第一次输入的时候不小心输入了本来不想要输入的字符。

除非你注册成功之后接到的邮件里明文给出了当时你输入的字符,这样就算不小心输错了,我也有机会知道或者去修改。几年前的产品有很多都是这么做的,但是它的问题就在于潜在的风险,你如何确保明文密码不会被除该用户以外的人看到?

所以我不明白为什么要取消确认密码呢?

from 19wu.

doitian avatar doitian commented on June 15, 2024

输错了找回密码,再输一次。邮箱也输错的话就真没办法了。

from 19wu.

richard-ma avatar richard-ma commented on June 15, 2024

@nightire 如果用户输错了密码,可以通过忘记密码找回。但其实这里如果显示4个文本框从UI上看也没关系。
@doitian 现在确实有网站要求输入两遍邮箱,不过我个人觉得有点麻烦。

from 19wu.

doitian avatar doitian commented on June 15, 2024

经过测试 只要UI上拿掉,devise 不会报错。只剩决定是不是需要去掉的问题

from 19wu.

Related Issues (20)

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.