def find_credential(account_name): """ function that finds a credential by account_name """ return Credentials.find_by_name(account_name)
def find_credentials(first_name): ''' function that finds credentials by password ''' return Credentials.find_by_name(first_name)