Merge branch 'master' of github.com:frankie567/fastapi-users

This commit is contained in:
François Voron
2020-07-21 15:25:23 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ SECRET = "SECRET"
auth_backends = []
cookie_authentication = CookieAuthentication(secret=SECRET, lifetime_seconds=3600))
cookie_authentication = CookieAuthentication(secret=SECRET, lifetime_seconds=3600)
auth_backends.append(cookie_authentication)
```

View File

@@ -11,7 +11,7 @@ SECRET = "SECRET"
auth_backends = []
jwt_authentication = JWTAuthentication(secret=SECRET, lifetime_seconds=3600))
jwt_authentication = JWTAuthentication(secret=SECRET, lifetime_seconds=3600)
auth_backends.append(jwt_authentication)
```