fix jwt error
This commit is contained in:
		
							parent
							
								
									12910b23ed
								
							
						
					
					
						commit
						ba1d271afa
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -678,7 +678,7 @@ async function initDatabase() { | |||
| 
 | ||||
|     if (! jwtSecretBean) { | ||||
|         console.log("JWT secret is not found, generate one."); | ||||
|         jwtSecretBean = initJWTSecret(); | ||||
|         jwtSecretBean = await initJWTSecret(); | ||||
|         console.log("Stored JWT secret into database"); | ||||
|     } else { | ||||
|         console.log("Load JWT secret from database."); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue