Commit 8575ae21 authored by Open Source Developer's avatar Open Source Developer

trans

parent 80d285b5
......@@ -89,7 +89,7 @@ class CASLogin extends ControllerBase
}
// phpCAS::setDebug("/home/haris/devel/eepal/drupal/modules/casost/phpcas.log");
// Enable verbose error messages. Disable in production!
phpCAS::setVerbose(true);
//phpCAS::setVerbose(true);
phpCAS::client($this->serverVersion,
$this->serverHostname,
......@@ -176,7 +176,7 @@ class CASLogin extends ControllerBase
$epalToken = $this->authenticatePhase2($request, $CASUser, $filterAttribute('cn'));
if ($epalToken) {
return new RedirectResponse('/dist/#/school?auth_token=' . $epalToken.'&auth_role=director', 302, []);
return new RedirectResponse('/angular/eepal-front/dist/#/school?auth_token=' . $epalToken.'&auth_role=director', 302, []);
} else {
$response = new Response();
$response->setContent('forbidden');
......
......@@ -94,7 +94,7 @@ class CASLogout extends ControllerBase
// Enable debugging
// phpCAS::setDebug("/home/haris/devel/eepal/drupal/modules/casost/phpcas.log");
// Enable verbose error messages. Disable in production!
phpCAS::setVerbose(true);
//phpCAS::setVerbose(true);
// Initialize phpCAS
phpCAS::client($this->serverVersion,
......
export const API_ENDPOINT = 'http://localhost/angular/eepal-front/drupal';
export const API_ENDPOINT = 'http://eduslim2.minedu.gov.gr/angular/eepal-front/drupal';
export class AppSettings {
public static get API_ENDPOINT(): string {
return 'http://localhost/angular/eepal-front/drupal';
return 'http://eduslim2.minedu.gov.gr/angular/eepal-front/drupal';
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment