Skip to content

Commit

Permalink
fix: Remove deprecated onAuth hook on ServerLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Dec 24, 2018
1 parent f439f0a commit 7d61e9f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/common/src/server/components/ServerLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ export abstract class ServerLoader implements IServerLifecycle {

createExpressApplication(this._injector);

if ((this as any).$onAuth) {
$log.warn("The $onAuth hooks is removed. Use OverrideMiddleware method instead of. See https://goo.gl/fufBTE.");
}

if (settings) {
this.setSettings(settings);
}
Expand Down

0 comments on commit 7d61e9f

Please sign in to comment.