'Delete the PlexPy login logs.
Required paramters:
None
Optional parameters:
None
Returns:
None'

@cherrypy.expose
@cherrypy.tools.json_out()
@requireAuth(member_of('admin'))
@addtoapi()
def delete_login_log(self, **kwargs):

    user_data = users.Users()
    result = user_data.delete_login_log()
    res = ('success' if result else 'error')
    msg = ('Cleared    login    logs.' if result else 'Failed    to    clear    login    logs.')
    return {'result': res, 'message': msg}
