Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: req#logout requires a callback function #510

Open
Maxino22 opened this issue Nov 12, 2024 · 0 comments
Open

Error: req#logout requires a callback function #510

Maxino22 opened this issue Nov 12, 2024 · 0 comments

Comments

@Maxino22
Copy link

What happened?

When trying to logout of exloperer It crushed and threw an error

[2024-11-12T06:18:05.739] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>>
[2024-11-12T06:18:05.739] [ERROR] main - Error: req#logout requires a callback function
    at IncomingMessage.req.logout.req.logOut (/opt/explorer/node_modules/passport/lib/http/request.js:65:44)
    at /opt/explorer/app/rest/authroutes.js:67:17
    at Generator.next (<anonymous>)
    at /opt/explorer/app/rest/authroutes.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/opt/explorer/app/rest/authroutes.js:4:12)
    at /opt/explorer/app/rest/authroutes.js:65:46
    at Layer.handle [as handle_request] (/opt/explorer/node_modules/express/lib/router/layer.js:95:5)
    at next (/opt/explorer/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/opt/explorer/node_modules/express/lib/router/route.js:114:3
    ```


### What did you expect to happen?

To sign out of the exlorer

### How can we reproduce it (as minimally and precisely as possible)?

Create explorer and try signing out

### Anything else we need to know?

_No response_

### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant