mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-25 11:00:31 +02:00
Diverses corrections
This commit is contained in:
@ -198,7 +198,7 @@ if (!$has_error && (isset($my_account) || isset($new_password))) {
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<?php if (isset($_SESSION["team"]) && $user->getRole() == Role::PARTICIPANT) {
|
||||
<?php if (isset($_SESSION["team"]) && ($user->getRole() == Role::PARTICIPANT || $user->getRole() == Role::ENCADRANT)) {
|
||||
$not_validated = $_SESSION["team"]->getValidationStatus() == ValidationStatus::NOT_READY;
|
||||
?>
|
||||
<hr/>
|
||||
|
Reference in New Issue
Block a user