The White House tightened up President Trump's lax social media security Thursday shortly after it was revealed that Trump’s official Twitter account, @POTUS, was linked to a personal Gmail account.

The Gmail link could have allowed any hacker with access to the Gmail account to reset the Twitter password and gain control of the influential account.

A request to reset the password for the account earlier on Thursday revealed that Trump’s recovery email was an address on Google’s widely used email service. A TV Guide editor was the first to attempt the password reset. The Hill confirmed that the password could be reset through Gmail.

Are you actually fucking kidding me



(and yes this is real, @POTUS is tied to a Gmail account) pic.twitter.com/LUdeNkEF1O — Alex Zalben (@azalben) January 26, 2017

As the hacks of Democratic Party-affiliated email accounts allegedly perpetrated by Russian hackers recently revealed, personal accounts can be vulnerable to illicit access. Theoretically, a hacker could use the Gmail account to wrest control of the @POTUS handle for mischief or worse — a BuzzFeed story on Trump's personal Twitter, which is separate from the @POTUS handle, called it "the most powerful publication in the world."

The Gmail account is believed to belong to White House director of social media Dan Scavino. But shortly after the Gmail revelations went viral, another attempt to reset the password showed that the account’s email preferences had been changed to what appears to be two government email addresses.

ADVERTISEMENT

While there was nothing illegal about the president using a personal email address on his Twitter account, the revelation was somewhat embarrassing for Trump, who repeatedly blasted Democratic presidential nominee Hillary Clinton Hillary Diane Rodham ClintonHillicon Valley: FBI chief says Russia is trying to interfere in election to undermine Biden | Treasury Dept. sanctions Iranian government-backed hackers The Hill's Campaign Report: Arizona shifts towards Biden | Biden prepares for drive-in town hall | New Biden ad targets Latino voters FBI chief says Russia is trying to interfere in election to undermine Biden MORE’s use of a private email server to conduct government business while she ran the State Department.

CNN reported last week that Twitter accounts for the president, first lady and vice president had not activated a basic security feature that requires users to type in their email address or phone number. As of Thursday, The Hill found that only the @VP account had turned on that feature.