Giter Club home page Giter Club logo

Comments (18)

WJR1986 avatar WJR1986 commented on August 11, 2024 65

update this line:
new_user = User(email=email, first_name=first_name, password=generate_password_hash(password1, method='sha256'))

to this line:
new_user = User(email=email, first_name=first_name, password=generate_password_hash(password1, method='pbkdf2:sha256'))

from flask-web-app-tutorial.

TomShare88 avatar TomShare88 commented on August 11, 2024 6

Thank you WJR1986. It works.

from flask-web-app-tutorial.

braydenwny avatar braydenwny commented on August 11, 2024 4

after some googling I found that changing the method from sha256 to scrypt works, so I think sha256 just isn't supported anymore but I'm not 100% sure

from flask-web-app-tutorial.

microshark2024 avatar microshark2024 commented on August 11, 2024 2

@WJR1986 牛逼 兄弟!

from flask-web-app-tutorial.

MahdiAlosh avatar MahdiAlosh commented on August 11, 2024 1

@WJR1986 Bro you're awesome!!
thank you

from flask-web-app-tutorial.

Cherisha2023 avatar Cherisha2023 commented on August 11, 2024 1

from flask-web-app-tutorial.

sethmuriuki avatar sethmuriuki commented on August 11, 2024 1

Worked like a charm

from flask-web-app-tutorial.

creative069 avatar creative069 commented on August 11, 2024 1

Thanks @WJR1986 william for your kind support on this issue . It works ..appreciate your effort ..cheers

from flask-web-app-tutorial.

Cherisha2023 avatar Cherisha2023 commented on August 11, 2024

Thank you so much @WJR1986 I was struggling to find out the error and I found it by your help!

from flask-web-app-tutorial.

WJR1986 avatar WJR1986 commented on August 11, 2024

Thank you so much @WJR1986 I was struggling to find out the error and I found it by your help!

My pleasure! Take care ❤️

from flask-web-app-tutorial.

anishvkalbhor avatar anishvkalbhor commented on August 11, 2024

changing sha256 to scrypt worked for me. maybe 'sha256' is not supported with the latest version.

from flask-web-app-tutorial.

ImmortalSheikh avatar ImmortalSheikh commented on August 11, 2024

update this line: new_user = User(email=email, first_name=first_name, password=generate_password_hash(password1, method='sha256'))

to this line: new_user = User(email=email, first_name=first_name, password=generate_password_hash(password1, method='pbkdf2:sha256'))

Legend! Thank you so much! Saved me from stressing out

from flask-web-app-tutorial.

WanjikuKatuni avatar WanjikuKatuni commented on August 11, 2024

update this line: new_user = User(email=email, first_name=first_name, password=generate_password_hash(password1, method='sha256'))

to this line: new_user = User(email=email, first_name=first_name, password=generate_password_hash(password1, method='pbkdf2:sha256'))

This worked thanks

from flask-web-app-tutorial.

WJR1986 avatar WJR1986 commented on August 11, 2024

Thanks @WJR1986 william for your kind support on this issue . It works ..appreciate your effort ..cheers

My pleasure, buddy. Happy coding ❤️

from flask-web-app-tutorial.

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.