Commit graph

10 commits

Author SHA1 Message Date
Dmitrii Metelkin
1d380d8aed Refactor hooks and modify related tests 2016-09-26 11:48:14 +10:00
Dmitrii Metelkin
b7cd70f1ea Add ssourl validation 2016-09-26 10:45:40 +10:00
Matt Porritt
68f7634066 Add functionality to stop users from reaching the regular Moodle login page.
This function forces users who try to access Moodle directly to be redirected to the "SSO Host".  The functionality is enabled by setting a SSO redirect URl in the plugins admin settings
The forced redirect can be overridden by using the  query param "enrolkey_skipsso=on"
2016-09-26 09:51:52 +10:00
Dmitrii Metelkin
3358c1e942 Update documentation 2016-08-19 16:46:19 +10:00
Dmitrii Metelkin
8e1ecdb7b6 Move key lifetime error to the string file 2016-08-19 10:53:36 +10:00
Dmitrii Metelkin
56a1728b1a Add redirect URL to a config form 2016-08-19 10:49:38 +10:00
Dmitrii Metelkin
5f6a3a8c81 Move error text to a string file 2016-08-18 21:49:27 +10:00
Dmitrii Metelkin
99d080f1cd Add 'Generate user key' permission 2016-08-18 18:10:38 +10:00
Dmitrii Metelkin
29d61cad41 Add settings 2016-08-18 14:43:57 +10:00
Dmitrii Metelkin
e128916e37 Initial commit 2016-08-16 14:10:38 +10:00