Forgot to save new tokens...
This commit is contained in:
		@@ -130,6 +130,8 @@ pub async fn create(t: &NewToken) -> anyhow::Result<(Token, TokenPrivKey)> {
 | 
			
		||||
        delete_after_inactivity: t.delete_after_inactivity,
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    token.save()?;
 | 
			
		||||
 | 
			
		||||
    Ok((token, priv_key))
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user