Comments (18)
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.
Thank you WJR1986. It works.
from flask-web-app-tutorial.
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.
@WJR1986 牛逼 兄弟!
from flask-web-app-tutorial.
@WJR1986 Bro you're awesome!!
thank you
from flask-web-app-tutorial.
from flask-web-app-tutorial.
Worked like a charm
from flask-web-app-tutorial.
Thanks @WJR1986 william for your kind support on this issue . It works ..appreciate your effort ..cheers
from flask-web-app-tutorial.
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.
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.
changing sha256 to scrypt worked for me. maybe 'sha256' is not supported with the latest version.
from flask-web-app-tutorial.
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.
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.
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)
- Sending data from form to python console HOT 1
- Noob I am HOT 1
- Alert message in home page HOT 1
- HEEELPPPP!! HOT 1
- I've corrected the call to create_all(), but no database file is created HOT 2
- Error in getting the url address after the installation of pip HOT 4
- Not an issue but a solution
- home.html
- why after reinstallation the database can't be reused
- address challenges encountered in implementing the QC test on the data arrays
- TypeError: object of type 'NoneType' has no len() HOT 1
- AttributeError: type object 'SQLAlchemy' has no attribute 'Model' HOT 1
- Only blank screen HOT 1
- Can't run main.py HOT 2
- ValueError: Invalid hash method 'sha256' HOT 3
- Flask Web Dev course
- FLASH MESSAGES NOT SHOWING IN LOGIN PAGE HOT 1
- Getting this Error: TypeError: Response.__call__() missing 2 required positional arguments: 'environ' and 'start_response'
- nothing is being deleted. I think smth to do w buttons. The delete button can't be triggered
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-web-app-tutorial.