fix return url
This commit is contained in:
		
							parent
							
								
									484755c6e7
								
							
						
					
					
						commit
						2f83561173
					
				| @ -65,7 +65,8 @@ namespace EnotaryoPH.Web.Pages | ||||
|                 new ClaimsPrincipal(claimsIdentity), | ||||
|                 authProperties); | ||||
| 
 | ||||
|             return RedirectToPage("/Principal/Dashboard/Dashboard"); | ||||
|             var returnUrl = Request.Query["ReturnUrl"].ToString() ?? string.Empty; | ||||
|             return RedirectToPage(string.IsNullOrEmpty(returnUrl) ? "/Principal/Dashboard/Dashboard" : returnUrl); | ||||
|         } | ||||
| 
 | ||||
|         [Required] | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user