mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 01:35:18 -04:00
Types and lint fixes in lib/web/auth
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
762e58b0d4
commit
d925b0cc5f
4 changed files with 5 additions and 4 deletions
|
@ -1,10 +1,11 @@
|
|||
import { Profile } from 'passport'
|
||||
import { User } from '../../models'
|
||||
import { logger } from '../../logger'
|
||||
|
||||
export function passportGeneralCallback (
|
||||
accessToken: string,
|
||||
refreshToken: string,
|
||||
profile: any,
|
||||
profile: Profile,
|
||||
done: (err?: Error | null, user?: User) => void
|
||||
): void {
|
||||
const stringifiedProfile = JSON.stringify(profile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue