Git commits in Moodle 3.6.5 by Ilya Tregubov

commit f7c13d399639b549da0c37933391c8dcd9f1f5ad
Author: Ilya Tregubov <ilyatregubov@catalyst-au.net>
Date:   Wed, 03 Apr 2019 13:47:52 +0800
Tag:    v3.6.5

MDL-65249 Session: Throw exception if number of attempts exceeded.