* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
$account->do_unsuspend();
$page->trigSuccess('Le compte est en cours de réactivation.');
} else if (Post::has('forcesync') && $account->active() && $account->sync_password) {
$account->do_unsuspend();
$page->trigSuccess('Le compte est en cours de réactivation.');
} else if (Post::has('forcesync') && $account->active() && $account->sync_password) {
$page->trigSuccess('Le mot de passe est en cours de synchronisation.');
} else if (Post::has('sync') && $account->active()) {
$page->trigSuccess('Le mot de passe est en cours de synchronisation.');
} else if (Post::has('sync') && $account->active()) {
$account->set_password_sync(true);
} else if (Post::has('nosync') && $account->active()) {
$account->set_password_sync(false);
$account->set_password_sync(true);
} else if (Post::has('nosync') && $account->active()) {
$account->set_password_sync(false);