diff options
author | Steve Clay <sclay@ufl.edu> | 2013-12-01 20:41:23 -0500 |
---|---|---|
committer | Steve Clay <sclay@ufl.edu> | 2013-12-01 20:41:23 -0500 |
commit | 4ffb40d6b5b9219c2b6964592f58183da6f78962 (patch) | |
tree | d1e67236121f1a27637ed64d3774c0060b82f29b /actions/admin/site/regenerate_secret.php | |
parent | ad8aff634c5c391042484aa9c8129e59faeac093 (diff) | |
parent | 003946eff06fcafe60db5894e1ade0abee7314b4 (diff) | |
download | elgg-4ffb40d6b5b9219c2b6964592f58183da6f78962.tar.gz elgg-4ffb40d6b5b9219c2b6964592f58183da6f78962.tar.bz2 |
Allow regenerating site secret
Diffstat (limited to 'actions/admin/site/regenerate_secret.php')
-rw-r--r-- | actions/admin/site/regenerate_secret.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/actions/admin/site/regenerate_secret.php b/actions/admin/site/regenerate_secret.php new file mode 100644 index 000000000..3112fb5f3 --- /dev/null +++ b/actions/admin/site/regenerate_secret.php @@ -0,0 +1,11 @@ +<?php +/** + * Generate a new site secret + */ + +init_site_secret(); +elgg_reset_system_cache(); + +system_message(elgg_echo('admin:site:secret_regenerated')); + +forward(REFERER); |