refactor(api): change jwt generation call to use new function name
This commit is contained in:
		
							parent
							
								
									60e564781d
								
							
						
					
					
						commit
						5b368cf832
					
				| @ -29,7 +29,7 @@ export default eventHandler(async (event) => { | ||||
| 						'Account inactive!<br><a href="/activate/resend">Resend verification</a>?', | ||||
| 				}); | ||||
| 			} | ||||
| 			let tok = user.generateToken(useRuntimeConfig().jwt); | ||||
| 			let tok = user.generateJWT(useRuntimeConfig().jwt); | ||||
| 			// setCookie(event, "rockfic_cookie", tok);
 | ||||
| 			return { | ||||
| 				user, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user