too many things to list (notably, user avatar update)
This commit is contained in:
		
							parent
							
								
									a7950671e1
								
							
						
					
					
						commit
						d6c9345dba
					
				
					 20 changed files with 341 additions and 47 deletions
				
			
		|  | @ -37,7 +37,7 @@ public class DiscordAuthController( | |||
|         logger.Debug("Discord user {Username} ({Id}) authenticated with no local account", remoteUser.Username, | ||||
|             remoteUser.Id); | ||||
| 
 | ||||
|         var ticket = OauthUtils.RandomToken(); | ||||
|         var ticket = AuthUtils.RandomToken(); | ||||
|         await keyCacheSvc.SetKeyAsync($"discord:{ticket}", remoteUser, Duration.FromMinutes(20)); | ||||
| 
 | ||||
|         return Ok(new AuthController.CallbackResponse(false, ticket, remoteUser.Username)); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue