def logout(): log.info(request.url) auth.logout(success_redirect='/login')
def logout(): check_connection(auth) auth.require(fail_redirect='/login') log.info(request.url) auth.logout(success_redirect='/login')
def logout(): auth.require(fail_redirect='/') log.info(request.url) auth.logout(success_redirect='/login')