This commit is contained in:
Fred Tempez 2020-11-24 08:29:53 +01:00
parent 68eb2cc061
commit 639fa7c85f

View File

@ -263,12 +263,12 @@ class user extends common {
$redirect = helper::baseUrl() . 'user/login/' . str_replace('/', '_', $this->getUrl());
}
// Redirection si retour en arrière possible
elseif($this->getUrl(3)) {
elseif($this->getUser('group') === 3) {
$redirect = helper::baseUrl() . 'user';
}
// Redirection normale
else {
$redirect = helper::baseUrl() . $this->getUrl();
$redirect = helper::baseUrl();
}
// Valeurs en sortie
$this->addOutput([