Browse Source

fix remove of user. As email is in that case a part of credential it must be set to NULL before delete.

release0.1.5
Georg Hopp 12 years ago
parent
commit
1897c81955
  1. 1
      src/application/login.c

1
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,

Loading…
Cancel
Save