mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
Add authenticationMethod and isAuthenticatedproperties
This commit is contained in:
parent
333932fce7
commit
943f6178de
@ -100,6 +100,12 @@ const createAuthentication = () => {
|
||||
}
|
||||
|
||||
if (typeof auth.strategy.verify === 'function') {
|
||||
strapi.telemetry.send('didCompleteRequest', {
|
||||
eventProperties: {
|
||||
authenticationMethod: auth.strategy.name,
|
||||
isAuthenticated: true,
|
||||
},
|
||||
});
|
||||
return auth.strategy.verify(auth, config);
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user