explicitely save name identifier

This commit is contained in:
fpeters 2004-09-08 13:55:58 +00:00
parent e4841c8bd8
commit 398e467307
1 changed files with 7 additions and 7 deletions

View File

@ -288,13 +288,6 @@ int single_sign_on()
}
free(reauth_time);
rc = save_profile_dumps(LASSO_PROFILE(login));
if (rc) {
lasso_login_destroy(login);
lasso_server_destroy(server);
return error_page("failed to save dumps");
}
rc = db_save_name_identifier(
LASSO_PROFILE(login)->nameIdentifier, user_id);
if (rc) {
@ -303,6 +296,13 @@ int single_sign_on()
return error_page("failed to save name identifier");
}
rc = save_profile_dumps(LASSO_PROFILE(login));
if (rc) {
lasso_login_destroy(login);
lasso_server_destroy(server);
return error_page("failed to save dumps");
}
if (login->protocolProfile == lassoLoginProtocolProfileBrwsArt) {
rc = db_save_assertion(