mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-11-04 08:05:42 +00:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			v3.0.0-bet
			...
			v3.0.0
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					d1c6ae1ba1 | 
@@ -533,10 +533,7 @@ func (api *API) SetupRoutes() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		// If it is empty it means that no redirect_uri was provided to the login screen so we just log in
 | 
							// If it is empty it means that no redirect_uri was provided to the login screen so we just log in
 | 
				
			||||||
		if redirectURIErr != nil {
 | 
							if redirectURIErr != nil {
 | 
				
			||||||
			c.JSON(200, gin.H{
 | 
								c.Redirect(http.StatusPermanentRedirect, api.Config.AppURL)
 | 
				
			||||||
				"status":  200,
 | 
					 | 
				
			||||||
				"message": "Logged in",
 | 
					 | 
				
			||||||
			})
 | 
					 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		log.Debug().Str("redirectURI", redirectURI).Msg("Got redirect URI")
 | 
							log.Debug().Str("redirectURI", redirectURI).Msg("Got redirect URI")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user