boinc/html/user/account_setup_nonfirst_acti...

23 lines
414 B
PHP
Raw Normal View History

<?php
include_once("db.inc");
include_once("util.inc");
include_once("prefs.inc");
$authenticator = init_session();
db_init();
$user = get_user_from_auth($authenticator);
if ($user == NULL) {
print_login_form();
exit();
}
$prefs = prefs_parse_global($user->global_prefs);
prefs_resource_parse_form($prefs);
project_prefs_update($user, $prefs);
Header("Location: account_setup_nonfirst_done.php");
?>