feat: add administrators, require administrator perms to change server config in webui #628
@ -24,7 +24,7 @@ const databaseAccountSchema = new Schema<IDatabaseAccountJson>(
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
        email: { type: String, required: true, unique: true },
 | 
					        email: { type: String, required: true, unique: true },
 | 
				
			||||||
        password: { type: String, required: true },
 | 
					        password: { type: String, required: true },
 | 
				
			||||||
        DisplayName: { type: String, required: true },
 | 
					        DisplayName: { type: String, required: true, unique: true },
 | 
				
			||||||
        CountryCode: { type: String, required: true },
 | 
					        CountryCode: { type: String, required: true },
 | 
				
			||||||
        ClientType: { type: String },
 | 
					        ClientType: { type: String },
 | 
				
			||||||
        CrossPlatformAllowed: { type: Boolean, required: true },
 | 
					        CrossPlatformAllowed: { type: Boolean, required: true },
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user