@@ -65,8 +65,7 @@ |
||
| 65 | 65 | $ret_aut = $ipa->authenticate( $usuario, $senha ); |
| 66 | 66 | if ( TRUE === $ret_aut['autenticado'] ) { // usuário está autenticado |
| 67 | 67 | _print( $ret_aut['mensagem'] ); |
| 68 | - } |
|
| 69 | - else { |
|
| 68 | + } else { |
|
| 70 | 69 | _print( $ret_aut['mensagem'] ); |
| 71 | 70 | // Para debug: |
| 72 | 71 | var_dump($ret_aut); |
@@ -189,8 +189,7 @@ |
||
| 189 | 189 | |
| 190 | 190 | if ( ! empty($server) && ! $this->setIPAServer($server) ) { |
| 191 | 191 | throw new \Exception("Error while validating the server"); |
| 192 | - } |
|
| 193 | - else if ( ! empty($certificate) && ! $this->setCertificateFile($certificate) ) { |
|
| 192 | + } else if ( ! empty($certificate) && ! $this->setCertificateFile($certificate) ) { |
|
| 194 | 193 | throw new \Exception("Error while validating the certificate"); |
| 195 | 194 | } |
| 196 | 195 | |