changes

parent 3418b21b
......@@ -145,14 +145,13 @@ class CASLogin extends ControllerBase
// $gsnunitcodedn = $filterAttribute('edupersonorgunitdn:gsnunitcode:extended');
// $gsnunitcode = substr($gsnunitcodedn, strpos($gsnunitcodedn, ";") + 1);
$gsnunitcode = $filterAttribute('edupersonorgunitdn:gsnunitcode');
/* check if myschool account */
if (!$umdobject || $umdobject !== "ISaccount") {
return $this->redirectForbidden($configRowName, '5002');
}
if (!$gsnunitcode || $gsnunitcode !== $CASUser) {
return $this->redirectForbidden($configRowName, '5003');
}
/* end of checking myschool account */
$userAssigned = $this->assignRoleToUser($gsnunitcode);
......
This diff is collapsed.
......@@ -14,23 +14,28 @@
"private": true,
"dependencies": {
"@angular-redux/store": "7.0.1",
"@angular/animations": "^5.0.0",
"@angular/animations": "^5.2.10",
"@angular/cdk": "^5.2.5",
"@angular/common": "^5.0.0",
"@angular/compiler": "^5.0.0",
"@angular/compiler-cli": "5.0.0",
"@angular/core": "^5.0.0",
"@angular/forms": "^5.0.0",
"@angular/http": "^5.0.0",
"@angular/material": "^5.2.5",
"@angular/platform-browser": "^5.0.0",
"@angular/platform-browser-dynamic": "^5.0.0",
"@angular/platform-server": "5.1.0",
"@angular/router": "^5.0.0",
"@ngui/auto-complete": "^0.16.0",
"@progress/kendo-angular-l10n": "^1.1.0",
"@progress/kendo-angular-upload": "^3.0.3",
"@types/file-saver": "0.0.1",
"@types/jquery": "3.2.16",
"@types/node": "6.0.85",
"@types/node-sass": "3.10.32",
"angular-redux": "1.0.0-beta",
"angular4-material-table": "^0.2.0",
"babel-core": "6.25.0",
"babel-loader": "6.4.1",
"babel-polyfill": "6.26.0",
......
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