give Spawners, Authenticators db access

as self.db
This commit is contained in:
Min RK
2015-01-16 16:33:46 -08:00
parent c4eb233631
commit 8cd2a55aa8
5 changed files with 7 additions and 4 deletions

View File

@@ -306,6 +306,7 @@ class User(Base):
config=config,
user=self,
hub=hub,
db=db,
)
# we are starting a new server, make sure it doesn't restore state
spawner.clear_state()