dodanie csrf, oauth 2, dockerfile
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
require_once 'includes/oauth_microsoft.php';
|
||||
|
||||
if (!isMicrosoftOAuthConfigured()) {
|
||||
http_response_code(503);
|
||||
exit('Logowanie Microsoft nie jest skonfigurowane.');
|
||||
}
|
||||
|
||||
header('Location: ' . buildMicrosoftAuthorizationUrl());
|
||||
exit();
|
||||
?>
|
||||
Reference in New Issue
Block a user