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:
parent
d8713c7c02
commit
130c141b7f
1 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue