[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: reduce relogin time
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: reduce relogin time |
Date: |
Tue, 03 Jul 2018 17:56:16 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 54a27e268 reduce relogin time
54a27e268 is described below
commit 54a27e268ac6d754232f0d5098fe7c95bc90901f
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Tue Jul 3 17:56:15 2018 +0200
reduce relogin time
---
src/identity-provider/plugin_rest_openid_connect.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/identity-provider/plugin_rest_openid_connect.c
b/src/identity-provider/plugin_rest_openid_connect.c
index d87a345cf..19aac224f 100644
--- a/src/identity-provider/plugin_rest_openid_connect.c
+++ b/src/identity-provider/plugin_rest_openid_connect.c
@@ -1014,10 +1014,11 @@ login_check (void *cls)
return;
}
}
- handle->emsg = GNUNET_strdup("invalid_cookie");
- handle->edesc = GNUNET_strdup(
- "The cookie of the login identity is not
valid");
- GNUNET_SCHEDULER_add_now (&do_redirect_error, handle);
+ //handle->emsg = GNUNET_strdup("invalid_cookie");
+ //handle->edesc = GNUNET_strdup(
+ // "The cookie of the login identity is not
valid");
+ //GNUNET_SCHEDULER_add_now (&do_redirect_error, handle);
+ GNUNET_SCHEDULER_add_now (&login_redirection,handle);
return;
}
}
@@ -1359,8 +1360,8 @@ login_cont (struct GNUNET_REST_RequestHandle *con_handle,
current_time = GNUNET_new(struct GNUNET_TIME_Absolute);
*current_time = GNUNET_TIME_relative_to_absolute (
-
GNUNET_TIME_relative_multiply (GNUNET_TIME_relative_get_minute_ (),
-
30));
+
GNUNET_TIME_relative_multiply (GNUNET_TIME_relative_get_second_ (),
+
5));
last_time = GNUNET_CONTAINER_multihashmap_get(OIDC_identity_login_time,
&cache_key);
if (NULL != last_time)
{
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: reduce relogin time,
gnunet <=