1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rainloop_ynh.git synced 2024-09-03 20:16:18 +02:00

Update sso.php

This commit is contained in:
ericgaspar 2021-03-26 09:54:17 +01:00
parent d8713c7c02
commit 130c141b7f
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -11,8 +11,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://__DOMAIN____PATH__app/index.php?sso&hash='.$ssoHash);
\header('Location: https://__DOMAIN____PATH__/app/index.php?sso&hash='.$ssoHash);
}
else {
\header('Location: https://__DOMAIN____PATH__app/index.php');
\header('Location: https://__DOMAIN____PATH__/app/index.php');
}