Giter Club home page Giter Club logo

Comments (7)

ocram avatar ocram commented on May 22, 2024

Thanks!

Do you want to do this as a user (i.e. let the user do this on their own) or as an administrator?

For the first case, the decision to require the old password as well has been intentional. But perhaps there might be some use cases where this is not required.

from php-auth.

mateosantosdev avatar mateosantosdev commented on May 22, 2024

Hi ocram,

Yes, I want to do this as a user.

I've seen the function updatePassword inside Auth.php :)

from php-auth.

ocram avatar ocram commented on May 22, 2024

Will be available shortly, using a small wrapper around updatePassword. Thanks!

from php-auth.

fdiengdoh avatar fdiengdoh commented on May 22, 2024

I wasn't sure if this would be secure? but isn't password update a sensitive access? What if someone use rememberme by mistake on a public computer and somebody change the password without needing to input the old password?

from php-auth.

fdiengdoh avatar fdiengdoh commented on May 22, 2024

But as an admin it sound logical.

from php-auth.

ocram avatar ocram commented on May 22, 2024

@fdiengdoh You're absolutely right. That's why the current method for changing the password still requires the old password to be entered. With the new method added, the old one will still be the recommended one and the default.

from php-auth.

ocram avatar ocram commented on May 22, 2024

Implemented in:

This is available in a new major version, v6.0.0, which comes with a few breaking changes. For a guide on how to upgrade, please see the migration notes in Migration.md.

from php-auth.

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.