diff --git a/moodle_connector.module b/moodle_connector.module
index 1f33fc3..8f2d730 100644
--- a/moodle_connector.module
+++ b/moodle_connector.module
@@ -48,7 +48,7 @@ function moodle_connector_connect() {
   $prefix   = variable_get('moodle_connector_db_prefix');
 
   // Return false if settings are incomplete.
-  if (!$type || !$server || !$port || !$username || !$password || !$database) {
+  if (!$type || !$server || !$port || !$username || !$database) {
     return FALSE;
   }
 
