Skip to content

Commit

Permalink
Dev: comment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Jan 19, 2018
1 parent abef4c6 commit b847f05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/helpers/remotecontrol/remotecontrol_handle.php
Expand Up @@ -2991,8 +2991,8 @@ protected function _doLogin($sUsername, $sPassword, $sPlugin)
$event->set('password', $sPassword);
App()->getPluginManager()->dispatchEvent($event, array($sPlugin));
if (!$identity->authenticate()) {
if( $identity->errorMessage ) {
// Be sure to don't return an empty string
if($identity->errorMessage) {
// don't return an empty string
return $identity->errorMessage;
}
return false;
Expand Down

0 comments on commit b847f05

Please sign in to comment.