Fix redirect after unlink federated identity and logout from account management

This commit is contained in:
mposolda 2015-05-04 14:08:18 +02:00
parent 6377cb71f7
commit e03140a9f2
2 changed files with 3 additions and 1 deletions

View file

@ -4,7 +4,9 @@
<delete tableName="CLIENT_SESSION_ROLE"/>
<delete tableName="CLIENT_SESSION_NOTE"/>
<delete tableName="CLIENT_SESSION"/>
<delete tableName="USER_SESSION_NOTE"/>
<delete tableName="USER_SESSION"/>
<createTable tableName="MIGRATION_MODEL">
<column name="ID" type="VARCHAR(36)">
<constraints nullable="false"/>

View file

@ -682,7 +682,7 @@ public class AccountService {
@QueryParam("provider_id") String providerId,
@QueryParam("stateChecker") String stateChecker) {
if (auth == null) {
return login("broker");
return login("identity");
}
require(AccountRoles.MANAGE_ACCOUNT);