mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-30 21:14:12 +00:00 
			
		
		
		
	always approve the first / root user
This commit is contained in:
		
							parent
							
								
									f36a1a5701
								
							
						
					
					
						commit
						37ff2bb0ca
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -133,7 +133,7 @@ export class SignupService { | |||
| 				host: this.utilityService.toPunyNullable(host), | ||||
| 				token: secret, | ||||
| 				isRoot: isTheFirstUser, | ||||
| 				approved: opts.approved ?? !this.meta.approvalRequiredForSignup, | ||||
| 				approved: isTheFirstUser || (opts.approved ?? !this.meta.approvalRequiredForSignup), | ||||
| 				signupReason: reason, | ||||
| 			})); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue