From 3413f6dcefa163984bb772dd8bfc47f9e1e449ab Mon Sep 17 00:00:00 2001 From: Xu Tao Date: Tue, 25 Jun 2024 15:53:51 +0800 Subject: [PATCH] Update README.md Fix example typo --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c321769..8b6ea26 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,8 @@ async def startup(): await site.db.async_run_sync(SQLModel.metadata.create_all, is_session=False) # Create a default administrator, username: admin, password: admin, please change the password in time!!! await auth.create_role_user("admin") - #Create the default super administrator, username: root, password: root, please change the password in time!!! await auth.create_role_user("root") + #Create the default super administrator, username: root, password: root, please change the password in time!!! + await auth.create_role_user("root") # Run the startup method of the site, load the casbin strategy, etc. await site.router.startup() #Add a default casbin rule @@ -391,4 +392,4 @@ Thanks to the following developers for their contributions to FastAPI-User-Auth: - \ No newline at end of file +