mirror of
https://github.com/YunoHost-Apps/rainloop_ynh.git
synced 2024-09-03 20:16:18 +02:00
Fix SSO
This commit is contained in:
parent
2df5bfebad
commit
3434799aaa
1 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue