This repository was archived by the owner on Nov 21, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
libs/rucken/auth-nestjs/src/passport Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { Logger } from '@nestjs/common';
22import {
33 AUTH_APP_FILTERS ,
44 AUTH_APP_GUARDS ,
5- AUTH_PASSPORT_STRATAGIES ,
5+ AUTH_PASSPORT_STRATEGIES ,
66 DEFAULT_FACEBOOK_CONFIG ,
77 DEFAULT_GOOGLE_PLUS_CONFIG ,
88 DEFAULT_JWT_CONFIG ,
@@ -23,8 +23,8 @@ const connectionString = new ConnectionString(process.env.DATABASE_URL || 'sqlit
2323const dbFile =
2424 connectionString . protocol === 'sqlite'
2525 ? './' +
26- ( connectionString . hosts ? connectionString . hosts [ 0 ] . name : '' ) +
27- ( connectionString . path ? '/' + connectionString . path [ 0 ] : '' )
26+ ( connectionString . hosts ? connectionString . hosts [ 0 ] . name : '' ) +
27+ ( connectionString . path ? '/' + connectionString . path [ 0 ] : '' )
2828 : '' ;
2929try {
3030 accessSync ( envFile ) ;
@@ -106,7 +106,7 @@ export const config: IDemoConfig = {
106106 ...AUTH_APP_GUARDS ,
107107 ...AUTH_APP_FILTERS
108108 ] ,
109- passportProviders : ( ) => AUTH_PASSPORT_STRATAGIES
109+ passportProviders : ( ) => AUTH_PASSPORT_STRATEGIES
110110 }
111111} ;
112112export function getRootPath ( ) {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { JwtStrategy } from './jwt.strategy';
33import { LocalStrategySignIn , LocalStrategySignUp } from './local.strategy' ;
44import { GooglePlusStrategy } from './google-plus.strategy' ;
55
6- export const AUTH_PASSPORT_STRATAGIES = [
6+ export const AUTH_PASSPORT_STRATEGIES = [
77 LocalStrategySignIn ,
88 LocalStrategySignUp ,
99 JwtStrategy ,
You can’t perform that action at this time.
0 commit comments