Explorar el Código

WIP: Show TBD message if the case that there already exists a user whose username matches ID of the newly created LDAP user

* fix error handler
Yuki Takei hace 8 años
padre
commit
e5fb50ffa7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/service/passport.js

+ 1 - 1
lib/service/passport.js

@@ -132,7 +132,7 @@ class PassportService {
             done(null, user);
           })
           .catch((err) => {
-            done(null, false, { message: err });
+            done(null, false, err);
           });
       }
     ));