Questions tagged [login]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

Key error(hash) in login function

If len (rows) != 1 or not check_password_hash (rows [0]["hash"], request.form.get ("password")): Return apology ("invalid username and/or password") The following ...
Pragati Chauhan's user avatar
0 votes
0 answers
214 views

The predefined login function psets/9/finance error

Have a problem with check50. I'm able to register, log in and all but check50 keeps denying it (the login part): :) application.py exists checking that application.py exists... :) application ...
steeplight's user avatar
0 votes
1 answer
275 views

I'm on pset9 right now and I'm running check50 on my code and getting :( logging in as registered user succeeds expected status code 200, but got 403

I've tried everything that I thought could be the problem but nothing is working. I registered and tried logging in but I keep getting '403 Invalid username and/or password' error This is my login ...
Simi Dada's user avatar
0 votes
1 answer
342 views

can someone explain why i get this error code

~/pset1/ $ check50 cs50/problems/2020/x/mario/less Connecting..... Authenticating.... GitHub username: william ******** GitHub password: ******** Verifying.... Make sure your username and/or password ...
William Tamplain's user avatar
1 vote
1 answer
297 views

Finance: Ensuring no duplicate usernames

I've implemented the following code in my "/register" route: def register(): """Register user""" if request.method == "GET": return render_template("register.html") else: #...
Jason C's user avatar
  • 13
0 votes
1 answer
326 views

Why do i get a 400 error with finance login?

I have made the register page. And am now trying to login, to the finance app, however I get a "400 error". I also get a 302, which I'm unsure if is relevant. DEBUG:cs50:SELECT * FROM users WHERE ...
Ryan Hinchliffe's user avatar
0 votes
1 answer
63 views

Finance register function does not insert data in database

I am trying to finish the register function but something goes wrong. I get an error message " It seems that although registration is claimed to be ok (from check50) nothing is actually added in the ...
Mary91gr's user avatar
0 votes
1 answer
540 views

Pset7: Logging in as registered user succeeds with TypeError: 'NoneType' object is not subscriptable login

I have completed pset7 and all functionality appears to be working as intended. However, check50 produces the following error: Since I am unable to find an issues through testing, I am having ...
Josh's user avatar
  • 1
0 votes
1 answer
406 views

The predefined login function does not seem to be working in finance

All the registered ids are not able to log in. Even though the username and password are correct the website returns 400 error def login(): """Log user in""" # Forget any user_id session.clear() # ...
Kushagra Chawda's user avatar
1 vote
2 answers
4k views

pset7 C$50 finance check50 error expected status code 200, but got 400

Answer The error was in my index() implementation. I had made the mistake of including the following code in index(): # Query database stocks database for total number of shares of each stock ...
Ryan's user avatar
  • 13
0 votes
1 answer
678 views

Finance check50 returns 400 on loging whereas login is ok on flask run

Check50 has been returning me the following error on login : :( logging in as registered user succceeds expected status code 200, but got 400 However all the test runs I performed allowed me to ...
lele701's user avatar
  • 21
0 votes
1 answer
90 views

Why flask is returning a default login page instead mine, custom one

I have an issue with my app, since I was adding the feature "users roles" I am getting a strange page content on login page looks like default login page instead of my custom login page and I cannot ...
alex's user avatar
  • 5
1 vote
1 answer
95 views

CS50 Pset7 Finance login TypeError: invalid method ''

I got some sort of error when i tried to login with an account that has been registered in my database. I have only done the register function. I can register and automatically login to the website ...
Iberico's user avatar
  • 29
0 votes
1 answer
144 views

Strange sudden error in pset7 staff implemented login (key error 'id')

I'm currently working on pset7, cs50 finance. I just implemented the buy method, and when I went to login on my site, I encountered a key error, pointing to 'id' in the following line in the login ...
Jason_V's user avatar
  • 182
0 votes
1 answer
591 views

pset7 finance python Login question

Hello all a problem I have run into is that I cannot login in registered users it just returns me the invalid username/password page when I try to login. Does anyone know what the problem in my code ...
Roundabout's user avatar
0 votes
1 answer
105 views

Pset7 Login to CS50 Finance Trouble

this is my problem as for this problem set 7. The message pops up after I have tried to chmod php, files, and directories as said on other websites. Fatal error: SQLSTATE[HY000] [2002] Can't connect ...
SofiaMVH's user avatar
1 vote
2 answers
5k views

Login to CS50 IDE

I cant login to the IDE. I keep trying to use the EDX password I have, but it isn't working. I can't think of what else to do... Is anyone else taking the course online through Edx... Thanks, ...
PGM's user avatar
  • 19
0 votes
1 answer
320 views

can't log in with registered users

whenever i try to log in with registered users by writing their usernames and hash(password) in the log in form .I get a (invalid username or password ) message. should I implement (portfolio) to be ...
kawegan's user avatar
  • 76
0 votes
1 answer
81 views

Uploading to http://cs50.edx.org/2015/psets/

hey guys trying to upload files to http://cs50.edx.org/2015/psets/0/ but cannot login .. I logged into edx with my google account and i am having problems.. any ideas ?
Lucas 's user avatar
1 vote
1 answer
238 views

Unable to login, to submit pset0. Signed in with Google

I am not able to login to CS50.net, and cannot submit a pset. I signed in and enrolled using the google-signin-option. I saw one user who had this problem as well. Are there others here signed in ...
Arthur Kamst's user avatar