HELP with code
Here I have done the secure page activity using the flask package.
Please can you have a look at my code and see where I've gone wrong because even if the console/terminal section displays the message/title 'Hello, Repler!', it doesn't ask for the password in the URL according to the video in this link: https://repl.it/site/docs/misc/quick-start#creating-a-new-python-3-repl
It doesn't do that because if Flask can't find the arg secret it will make it undefined so it is comparing undefined and the password in the .env file
@PDanielY so how can I fix this issue?
@MadihaAhmad19 when you go to https://Flask-repl-Replit-MadihaAhmad19.madihaahmad19.repl.co/secure-page make sure to include the arg which is by doing this https://Flask-repl-Replit-MadihaAhmad19.madihaahmad19.repl.co/secure-page?secret={what you want the arg secret to be}
although I've used your advice --> there is a slight issue here: my link is https://flask-repl-replit-madihaahmad19.madihaahmad19.repl.co however, the link you have sent when the console presumably runs is something different =[https://Flask-repl-Replit-MadihaAhmad19.madihaahmad19.repl.co/secure-page ].. I think the problem is that the secure page function that was written is not [email protected]
@MadihaAhmad19 ok, can you fix it?
@PDanielY would any of you like to join my repl multiplayer group thing?
@Rileygamer21 what is it for?
@PDanielY Making games and coding projects