aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/site/regenerate_secret.php
blob: 3112fb5f31f7f6287b8b099729a210f7de260f82 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php
/**
 * Generate a new site secret
 */

init_site_secret();
elgg_reset_system_cache();

system_message(elgg_echo('admin:site:secret_regenerated'));

forward(REFERER);