MDL-56751 admin: New setting to set user created tokens duration
commit993e81757693f0d6f076461dd631307d5922f55b
authorJuan Leyva <juanleyvadelgado@gmail.com>
Fri, 14 Jul 2017 09:24:53 +0000 (14 10:24 +0100)
committerJuan Leyva <juanleyvadelgado@gmail.com>
Fri, 14 Jul 2017 09:24:53 +0000 (14 10:24 +0100)
treed36c4e15c4aa72ee9dcbdf4f7c98eb67dbe9bd55
parent350700bf8b509f5269b0fefd34fec0d3d5393c99
MDL-56751 admin: New setting to set user created tokens duration

We were using a hardcoded value for 12 months.
With this change, administrators can change the duration time via a
security setting.
admin/settings/security.php
lang/en/admin.php
lib/externallib.php
lib/tests/externallib_test.php
version.php