feat(frontend): don't break signup pages on reload
This commit is contained in:
		
							parent
							
								
									32e0c09d06
								
							
						
					
					
						commit
						74800b46ef
					
				
					 13 changed files with 79 additions and 88 deletions
				
			
		|  | @ -94,8 +94,7 @@ public class FediverseAuthController( | |||
|     public async Task<IActionResult> RegisterAsync([FromBody] OauthRegisterRequest req) | ||||
|     { | ||||
|         FediverseTicketData? ticketData = await keyCacheService.GetKeyAsync<FediverseTicketData>( | ||||
|             $"fediverse:{req.Ticket}", | ||||
|             true | ||||
|             $"fediverse:{req.Ticket}" | ||||
|         ); | ||||
|         if (ticketData == null) | ||||
|             throw new ApiError.BadRequest("Invalid ticket", "ticket", req.Ticket); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue