[Adminjs & NestJS] how to get admin instance #1699
Unanswered
mohamad-zbib
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a project uses
AdminJS 6.8
&NestJS 9.0
with@adminjs/nestjs 5.0.1
.I need to use
adminJS.overrideLogin(....)
, I am searching for an object that can pass the instance of the used adminjs instance. how to get it?I Used a cheap trick, but we should find a better way:
This is using an action handler, but i should login and run this event and logout to get the result.
suggest a better solution please.
Beta Was this translation helpful? Give feedback.
All reactions