fix documentation tokenUrl (#210)

* fix documentation tokenUrl

* Change default login tokenUrl
This commit is contained in:
Eric Lopes
2020-06-15 20:33:52 +08:00
committed by GitHub
parent 624172ccf9
commit 75147a7071
8 changed files with 8 additions and 8 deletions

View File

@@ -30,7 +30,7 @@ class JWTAuthentication(BaseAuthentication[str]):
self,
secret: str,
lifetime_seconds: int,
tokenUrl: str = "/users/login",
tokenUrl: str = "/login",
name: str = "jwt",
):
super().__init__(name, logout=False)