1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rainloop_ynh.git synced 2024-09-03 20:16:18 +02:00
This commit is contained in:
Yalh 2019-01-27 21:19:53 +01:00
parent 2df5bfebad
commit 3434799aaa

View file

@ -24,8 +24,8 @@ if (isset($_SERVER['HTTP_EMAIL']) && isset($_SERVER['PHP_AUTH_PW'])) {
$ssoHash = \RainLoop\Api::GetUserSsoHash($email, $password);
// redirect to webmail sso url
\header('Location: https://__URL__app/index.php?sso&hash='.$ssoHash);
\header('Location: https://__URL__/index.php?sso&hash='.$ssoHash);
}
else {
\header('Location: https://__URL__app/index.php');
\header('Location: https://__URL__/index.php');
}