mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Merge pull request #1183 from lukad/feature/remove-plenk
Remove extra space from ssh authentication message
This commit is contained in:
		@@ -102,7 +102,7 @@ func runServ(c *cli.Context) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	cmd := os.Getenv("SSH_ORIGINAL_COMMAND")
 | 
						cmd := os.Getenv("SSH_ORIGINAL_COMMAND")
 | 
				
			||||||
	if cmd == "" {
 | 
						if cmd == "" {
 | 
				
			||||||
		println("Hi", user.Name, "! You've successfully authenticated, but Gogs does not provide shell access.")
 | 
							fmt.Printf("Hi, %s! You've successfully authenticated, but Gogs does not provide shell access.\n", user.Name)
 | 
				
			||||||
		if user.IsAdmin {
 | 
							if user.IsAdmin {
 | 
				
			||||||
			println("If this is unexpected, please log in with password and setup Gogs under another user.")
 | 
								println("If this is unexpected, please log in with password and setup Gogs under another user.")
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user