|
|
|
|
|
|
|
|
|
|
|
|
|
|
# if the above check passes, then we know the user has the right credentials |
|
|
# if the above check passes, then we know the user has the right credentials |
|
|
login_user(user, remember=remember) |
|
|
login_user(user, remember=remember) |
|
|
flash(url_for('main.profile',_external=True,_scheme=os.environ.get('SSL_SCHEME'))) |
|
|
|
|
|
return redirect(url_for('main.profile',_external=True,_scheme=os.environ.get('SSL_SCHEME'))) |
|
|
return redirect(url_for('main.profile',_external=True,_scheme=os.environ.get('SSL_SCHEME'))) |
|
|
|
|
|
|
|
|
# routes for signup page |
|
|
# routes for signup page |