Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @app.route('/')
- def index():
- if 'loggedin' in session:
- return render_template('index.html')
- flash('Harap Login dulu','danger')
- return redirect(url_for('login'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement