Document that authenticator's add_user maybe a coroutine

This commit is contained in:
YuviPanda
2016-12-01 19:31:23 +05:30
parent d5a6e2b2ac
commit 88de48ebac

View File

@@ -210,6 +210,8 @@ class Authenticator(LoggingConfigurable):
- When a user first authenticates
- When the hub restarts, for all users.
This method may be a coroutine.
By default, this just adds the user to the whitelist.
Subclasses may do more extensive things, such as adding actual unix users,