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
3434799aaa
commit
77599194d1
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ else
|
|||
echo '[105] Missing version directory';
|
||||
exit(105);
|
||||
}
|
||||
$_ENV['RAINLOOP_INCLUDE_AS_API'] = true;
|
||||
|
||||
// Retrieve email and password
|
||||
if (isset($_SERVER['HTTP_EMAIL']) && isset($_SERVER['PHP_AUTH_PW'])) {
|
||||
$email = $_SERVER['HTTP_EMAIL'];
|
||||
|
|
Loading…
Add table
Reference in a new issue