diff --git a/docs/guides/databases/surrealdb/surrealdb-for-web-applications/index.md b/docs/guides/databases/surrealdb/surrealdb-for-web-applications/index.md index 60448d2465a..52fb81c20b4 100644 --- a/docs/guides/databases/surrealdb/surrealdb-for-web-applications/index.md +++ b/docs/guides/databases/surrealdb/surrealdb-for-web-applications/index.md @@ -50,7 +50,7 @@ Referencing those two guides, you need to do the following to keep up with the r 1. Create a limited user with database-level access. This example names the user `exampleUser`. ```command - DEFINE LOGIN exampleUser ON DATABASE PASSWORD 'examplePass'; + DEFINE USER exampleUser ON DATABASE PASSWORD 'examplePass'; ``` 1. Close the SurrealDB CLI and stop the SurrealDB server with the Ctrl + C key combination. @@ -807,4 +807,4 @@ This tutorial provides the tools needed to start implementing SurrealDB as a bac More importantly, leveraging SurrealDB's APIs can make applications more adaptable. Whether it's for a traditional frontend, or a modern architecture like Jamstack with a static site generator, SurrealDB can be a full backend resource. This provides a lot of flexibility. -Be sure to look at our other guides on SurrealDB, linked earlier in this tutorial. Additionally, learn more about schemas and document relations with our guide on [Modeling Data with SurrealDB’s Inter-document Relations](/docs/guides/surrealdb-interdocument-modeling/). \ No newline at end of file +Be sure to look at our other guides on SurrealDB, linked earlier in this tutorial. Additionally, learn more about schemas and document relations with our guide on [Modeling Data with SurrealDB’s Inter-document Relations](/docs/guides/surrealdb-interdocument-modeling/).