We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51dc2e4 commit c6e758aCopy full SHA for c6e758a
1 file changed
docs/Tutorial.md
@@ -883,7 +883,7 @@ import { AuthProvider } from "react-admin";
883
884
export const authProvider: AuthProvider = {
885
// called when the user attempts to log in
886
- login: ({ username }: { username: string }) => {
+ login: ({ username }) => {
887
localStorage.setItem("username", username);
888
// accept all username/password combinations
889
return Promise.resolve();
0 commit comments