Minor styling improvements, and fix for new project setup.
This commit is contained in:
		
							parent
							
								
									910d1b3d21
								
							
						
					
					
						commit
						10bda9949a
					
				
					 5 changed files with 21 additions and 6 deletions
				
			
		|  | @ -58,7 +58,7 @@ router.post('/generate-registration-options', async(req, res) => | |||
|   } | ||||
| 
 | ||||
|   //Check if the registrationToken matches the setting
 | ||||
|   const registrationTokenSetting = await getSetting('REGISTRATION_TOKEN'); | ||||
|   const registrationTokenSetting = await getSetting('REGISTRATION_TOKEN') || 'INITIAL_REGISTRATION_TOKEN_PLEASE_CHANGE_ME'; | ||||
| 
 | ||||
|   if (registrationTokenSetting !== registrationToken && !req.session.loggedInUserId) | ||||
|   { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue