Update default text

Toby Padilla created

Change summary

config/defaults.go | 11 ++++++-----
tui/bubble.go      |  1 -
2 files changed, 6 insertions(+), 6 deletions(-)

Detailed changes

config/defaults.go 🔗

@@ -9,7 +9,7 @@ port: %d
 # Set the access level for anonymous users. Options are: read-write, read-only and no-access
 anon-access: %s
 
-# Allow read only even if they don't have private keys, any password will work
+# Allow users with no private keys read-only access. Any password is accepted.
 allow-no-keys: false
 
 # Customize repo display in menu
@@ -19,6 +19,7 @@ repos:
     note: "Configuration and content repo for this server"`
 
 const hasKeyUserConfig = `
+
 # Users can read all repos, and push to collab-repos, admin can push to all repos
 users:
   - name: admin
@@ -30,12 +31,12 @@ const defaultUserConfig = `
 # users:
 #   - name: admin
 #     admin: true
-#     public-key: |
+#     public-key:
 #       KEY TEXT`
 
 const exampleUserConfig = `
-#   - name: little-buddy
+#   - name: Example User
 #     collab-repos:
-#       - soft-serve
-#     public-key: |
+#       - REPO
+#     public-key:
 #       KEY TEXT`

tui/bubble.go 🔗

@@ -71,7 +71,6 @@ func (b *Bubble) Init() tea.Cmd {
 
 func (b *Bubble) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
 	cmds := make([]tea.Cmd, 0)
-	// Always allow state, error, info, window resize and quit messages
 	switch msg := msg.(type) {
 	case tea.KeyMsg:
 		switch msg.String() {