- added session id brute force prevention to old template engine (as used in new template engine)
- forced login->verify() in old template engine
- removed unused login/logout related codes from old template engine
- uuid of new database records is now generated in before insert trigger
In htdocs/lib/common.inc.php, getUserCountry():
- added "global" declaration of "$usr", which was missing
- using "GB" as the fallback country code instead of "EN", which is not a valid country code
In htdocs/newcache.php:
- using "getUserCountry()" to initialize "$sel_country" if no "_POST['country']" was given, instead of "$default_country"
- using "$sel_country" to preselect the country in the countries combobox, instead of "getUserCountrs()"