Skip to content

Commit

Permalink
Merge pull request keycloak#4331 from hmlnarik/KEYCLOAK-5209-IdpEmail…
Browse files Browse the repository at this point in the history
…VerificationAuthenticator-should-use-user-action-timeout

KEYCLOAK-5209 Make IdpEmailVerificationAuthenticator use user action …
  • Loading branch information
mposolda authored Jul 21, 2017
2 parents 4e1eab9 + a192b6f commit 79a6465
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private void sendVerifyEmail(KeycloakSession session, AuthenticationFlowContext
UriInfo uriInfo = session.getContext().getUri();
AuthenticationSessionModel authSession = context.getAuthenticationSession();

int validityInSecs = realm.getActionTokenGeneratedByAdminLifespan();
int validityInSecs = realm.getActionTokenGeneratedByUserLifespan();
int absoluteExpirationInSecs = Time.currentTime() + validityInSecs;

EventBuilder event = context.getEvent().clone().event(EventType.SEND_IDENTITY_PROVIDER_LINK)
Expand Down

0 comments on commit 79a6465

Please sign in to comment.