Questions tagged [login]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
41 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 ...
0
votes
1answer
72 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 ...
0
votes
1answer
52 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() # ...
0
votes
2answers
634 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 ...
0
votes
1answer
220 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 ...
0
votes
1answer
38 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 ...
1
vote
0answers
77 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 ...
0
votes
1answer
111 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 ...
0
votes
1answer
403 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 ...
0
votes
1answer
103 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 ...
1
vote
2answers
3k 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, ...
0
votes
1answer
296 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 ...
0
votes
1answer
71 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 ?
1
vote
1answer
228 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 ...