mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 13:52:17 +01:00 
			
		
		
		
	Correction d'un bug majeur concernant l'inscription des participants
This commit is contained in:
		@@ -73,7 +73,7 @@ class NewUser
 | 
				
			|||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (sizeof(User::getAllUsers()) == 0)
 | 
							if (count(User::getAllUsers()) == 0)
 | 
				
			||||||
			$this->role = Role::ADMIN;
 | 
								$this->role = Role::ADMIN;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		$this->confirm_email_token = genRandomPhrase(64);
 | 
							$this->confirm_email_token = genRandomPhrase(64);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user