Open inrepublica opened 4 years ago
In admin.php the code is:
$admin_hash = sha1($options->admin_credentials['username'].'+'.$options->admin_credentials['password']);
With Bash:
admin_hash=$(echo -n "$username+$password" | sha1sum | awk '{print $1}')
You can schedule automatic updates using something like cron. The URL to call is:
http://YOUR_DOMAIN.TLD/YOUR_PATH/admin/update.php?key=blabla
We recommend you schedule this URL to be fetched once a day. If you do not have access to a scheduling service you may want to consider one of these online services: Easycron, SetCronJob, onlinecronjobs.com.
Note: the key contained in the URL is a hash value generated from your admin credentials. If you change these, the key will also change.