Story highlights In the wake of the London attack, May has been criticized over police cuts

She previously called for the UK to withdraw from the European Convention on Human Rights

(CNN) British Prime Minister Theresa May says human rights laws will be changed "if they get in the way" of the country's fight against terror.

Speaking in the wake of a terrorist attack in London that left seven dead , May said she would seek to introduce longer prison terms for those convicted of terrorist offenses and make it easier to "deport foreign terrorist suspects."

The UK goes to the polls Thursday to decide if May's Conservative government stays in power.

Security has become a major issue since the London attack, and May has faced intense criticism in recent days from opposition Labour leader Jeremy Corbyn over her record as Home Secretary, during which she oversaw cuts to police officer numbers by over 20,000.

Seeking to shore up her domestic security credentials, May said Tuesday more should be done "to restrict the freedom and movement of terrorist suspects when we have enough evidence to know they are a threat but not evidence to prosecute them in full in court, and if our human rights laws stop us from doing it, we'll change the laws so we can do it."