Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 8c32040

Browse files
committed
Fixed bug in regirection to registration
* Fixed bug in redirect to registration in case only one VO and one group is available
1 parent 8dcac76 commit 8c32040

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ All notable changes to this project will be documented in this file.
66
- RpcConnector now stores cookie into file
77
- Set CONNECTTIMEOUT and TIMEOUT in RpcConnector
88

9+
#### Fixed
10+
- Fixed bug in redirect to registration in case only one VO and one group is available
11+
912
## [v3.2.0]
1013
#### Added
1114
- Added filter JoinGroupsAndEduPersonEntitlement

www/perun_identity_choose_vo_and_group.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
} elseif (count($groupsForRegistration) == 1) {
4646
$params = [];
4747
$vo = explode(':', $groupsForRegistration[0]->getUniqueName(), 2)[0];
48-
$group = $groupsForRegistration[0]->getName();
48+
$group = $groupsForRegistration[0]->getName()[0];
4949
$callback = Module::getModuleURL('perun/perun_identity_callback.php', ['stateId' => $stateId]);
5050

5151
$params['vo'] = $vo;

0 commit comments

Comments
 (0)