Skip to content

Commit

Permalink
GH-139 Validate account's activation using helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
mdziekon committed Dec 13, 2020
1 parent 294b1d6 commit f02bcef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions fleet3.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ function messageRed($Text, $Title)
$Protections['bashLimit_counttotal'] = $_GameConfig['Protection_BashLimitCountTotal'];
$Protections['bashLimit_countplanet'] = $_GameConfig['Protection_BashLimitCountPlanet'];

// --- Check if User's account is activated
if(!empty($_User['activation_code']))
{
if (!isUserAccountActivated($_User)) {
messageRed($_Lang['fl3_BlockAccNotActivated'], $ErrorTitle);
}

Expand Down

0 comments on commit f02bcef

Please sign in to comment.