Fix redirect after unlink federated identity and logout from account management
This commit is contained in:
parent
6377cb71f7
commit
e03140a9f2
2 changed files with 3 additions and 1 deletions
|
@ -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"/>
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue