From 1897c819556cff1993a690e6d725df7e72c08fea Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Sun, 29 Sep 2013 14:12:53 +0100 Subject: [PATCH] fix remove of user. As email is in that case a part of credential it must be set to NULL before delete. --- src/application/login.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/application/login.c b/src/application/login.c index 7b4a966..b661911 100644 --- a/src/application/login.c +++ b/src/application/login.c @@ -54,6 +54,7 @@ applicationLogin( // this is an ldap user that has not yet set // additional user informations. /* @TODO again...change the keys to id's */ + session->user->email = NULL; delete(session->user); session->user = new(User, CRED_PWD(credential).user,