FlaskBB
A lightweight forum software in Flask
Member
Joined:
Posts: 2

Hi guys,

I'm pretty new to the flask scene and had a question/need some help. I'm working on a raspberry pi with a relais board. I got it working using these codes:
http://randomnerdtutorials.com/raspberry-pi-web-server-using-flask-to-control-gpios/

But can someone tell me how I can add a login to my program? If this has a login I can open up the port to the internet for external use.

Thnx for the help!

Administrator
avatar
Joined:
Posts: 139

You could use Flask-Login which will handle the user sessions for you. You'd still have to implement the registration and the actual login process though.


Cheers! 🍻

Member
Joined:
Posts: 2

gonna try that. thnx!