Get your own website
On branch main
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   auth.js

no changes added to commit (use "git add" and/or "git commit -a")
diff --git a/auth.js b/auth.js
index a404cd3..be27e13 100644
--- a/auth.js
+++ b/auth.js
@@ -1 +1 @@
-function login(user) { return user.name !== ''; }
+function login(user) { return user.name.trim() !== ''; }