File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ function loadAuthAdapter(provider, authOptions) {
154
154
return ;
155
155
}
156
156
157
- const adapter = defaultAdapter ?? Object . assign ( { } ) ;
157
+ const adapter = defaultAdapter || { } ;
158
158
const keys = [
159
159
'validateAuthData' ,
160
160
'validateAppId' ,
@@ -165,12 +165,12 @@ function loadAuthAdapter(provider, authOptions) {
165
165
'policy'
166
166
] ;
167
167
const defaultAuthAdapter = new AuthAdapter ( ) ;
168
- keys . forEach ( key => {
169
- const existing = adapter ?. [ key ] ;
170
- if ( existing && typeof existing === 'function' && existing . toString ( ) === defaultAuthAdapter [ key ] . toString ( ) ) {
171
- adapter [ key ] = null ;
172
- }
173
- } ) ;
168
+ // keys.forEach(key => {
169
+ // const existing = adapter?.[key];
170
+ // if (existing && typeof existing === 'function' && existing.toString() === defaultAuthAdapter[key].toString()) {
171
+ // adapter[key] = null;
172
+ // }
173
+ // });
174
174
const appIds = providerOptions ? providerOptions . appIds : undefined ;
175
175
176
176
// Try the configuration methods
You can’t perform that action at this time.
0 commit comments