Example #1
0
def delete_profile():
    user_key = current_user.key()
    #Sign out and capture the redirect
    response = sign_out()
    #delete the user
    HubUser.delete(user_key)
    #return the redirect
    return response
Example #2
0
def delete_profile():
    user_key = current_user.key()
    #Sign out and capture the redirect
    response = sign_out()
    #delete the user
    HubUser.delete(user_key)
    #return the redirect
    return response