Skip to content

Instantly share code, notes, and snippets.

View kelraf's full-sized avatar
🎯
Focusing

Kelvin Raphael Kingara kelraf

🎯
Focusing
View GitHub Profile
@kelraf
kelraf / simple_sign_in_and_sign_out.py
Created July 16, 2018 09:02 — forked from daGrevis/simple_sign_in_and_sign_out.py
Simple sign in and sign out in Python's Flask
from flask import Flask, session, escape, request, redirect, url_for
from os import urandom
app = Flask(__name__)
app.debug = True
app.secret_key = urandom(24)
@app.route('/')