Paul Holden
2f213c96ce
MDL-78849 user: correct logical operator behaviour for guest button.
...
Apart from being banned per MDL-74990, it causes a subtle bug here
due to operator precedence.
Co-authored-by: Tom Mayfield <tmayfield@costrack.com >
2023-11-16 11:30:39 +00:00
Jun Pataleta
29ec472284
Merge branch 'MDL-53368-master-3' of https://github.com/HuongNV13/moodle
2023-08-24 22:51:26 +08:00
Huong Nguyen
0cd29afb6f
MDL-53368 core_auth: Implement reCaptcha on login page
2023-08-24 15:18:31 +07:00
Cameron Ball
230fcddd62
MDL-78630 auth: Display lock/unlock messages
2023-08-15 10:59:09 +08:00
Andrew Nicols
a3cc26f8bb
MDL-76583 core: Update uses of external_* classes
2023-01-19 07:34:09 +08:00
Jun Pataleta
ae14ff321b
MDL-72928 core: Remove Remember username
2022-02-11 12:01:26 +08:00
Simey Lameze
eadf157068
MDL-72984 admin: make support email setting mandatory
2021-12-20 13:22:35 +08:00
abgreeve
0492b069be
MDL-69371 core_renderer: New core language renderable.
2021-10-19 13:47:46 +02:00
Bas Brands
47bbfe0f4f
MDL-69371 theme_boost: redesign the moodle login page
2021-10-19 13:47:04 +02:00
Mathew May
c5d1c2dcf8
MDL-50472 auth: Add maintenance message to the login page.
2019-07-29 10:45:28 +08:00
Damyon Wiese
6dfe428363
MDL-63183 auth: Login protection
...
CSRF protection for the login form. The authenticate_user_login function was
extended to validate the token (in \core\session\manager) but by default it
does not perform the extra validation. Existing uses of this function from
auth plugins and features like "change password" will continue to work without
changes. New config value $CFG->disablelogintoken can bypass this check.
2018-11-07 00:14:48 +01:00
Andrew Nicols
1ac8ae517d
Merge branch 'MDL-63742-master' of git://github.com/jleyva/moodle
2018-10-30 07:46:00 +08:00
Juan Leyva
6f79370531
MDL-63742 auth: New WS core_auth_resend_confirmation_email
2018-10-29 11:04:02 +01:00
Jun Pataleta
36d7b587cb
MDL-63528 auth: Show "Remember username" on login form only when needed
2018-10-04 11:39:53 +08:00
Alexander Bias
3e24741d0a
MDL-63442 login: Show MOODLEID cookie note only if needed
...
AMOS BEGIN
CPY [cookiesenabled,core],[cookiesenabledonlysession,core]
AMOS END
2018-09-25 12:16:47 +02:00
Frédéric Massart
1582d54bb0
MDL-62253 core_auth: Implement privacy API
2018-05-01 09:14:58 +08:00
David Mudrák
60e213470d
MDL-61658 user: Fix parsing of the agedigitalconsentmap setting
...
When parsing and validating the value of the Digital age of consent
(agedigitalconsentmap) field, we want to load all country codes. Not
just the ones whitelisted for drop down menus that users can choose
from.
2018-03-21 18:17:47 +01:00
Juan Leyva
1f7565c121
MDL-61622 auth: New WS is_age_digital_consent_verification_enabled
2018-03-09 17:54:58 +01:00
Mihail Geshoski
25dbbdf90b
MDL-61423 authentication: Add digital minor verification upon signup
2018-03-08 15:01:25 +08:00
John Okely
7eb50b3290
MDL-42834 admin: Remove wwwroot if used with moodle_url
2017-10-23 12:25:36 +08:00
John Okely
672f483670
MDL-42834 admin: Removal of httpswwwroot
2017-10-23 12:25:36 +08:00
Juan Leyva
b6f70a3745
MDL-58716 auth: New ajax WS core_auth_request_password_reset
2017-07-04 11:40:12 +01:00
Damyon Wiese
406b92c6fd
MDL-58836 auth: Improve backwards compatibility
...
Auth plugins with custom signup forms may not be using renderables / renderers - or
even if they are they may return a renderable that can only be rendered with the renderer from the auth
plugin.
This change checks if the signup form is a renderable - if so try the plugin renderer or fall back on the general renderer.
Otherwise call display() from the mform which is the previous way of rendering an mform.
2017-05-08 16:14:01 +08:00
Jun Pataleta
627ea5b10e
MDL-58400 auth: New helper methods for identity providers
...
* get_identity_providers(): Retrieves available auth identity providers
* prepare_identity_providers_for_output(): Prepares auth identity
provider data for output (e.g. to templates, WS, etc)
* Use these helpers for the login renderer
2017-04-10 11:12:03 +08:00
Damyon Wiese
e25362a7db
MDL-58220 auth: $OUTPUT -> $output
...
Don't use global $OUTPUT when there is a more specific renderer.
2017-04-03 13:43:26 +08:00
Damyon Wiese
60237253a2
MDL-58090 oauth2: Store a list of oauth2 services
...
Build an admin page where OAuth 2 services can be installed and configured.
Part of MDL-58220
2017-04-03 13:39:02 +08:00
Dan Poltawski
f5af2e6866
Merge branch 'MDL-55476-master' of git://github.com/jadet23/moodle
2017-02-13 13:41:13 +00:00
Jade Telford
8380658219
MDL-55476 auth: remove loginpasswordautocomplete
2017-01-19 07:24:46 +00:00
Juan Leyva
9db43c7341
MDL-57629 webservice: Fix external functions phpdoc
...
Replace external_external_function_parameters with
external_function_parameters
2017-01-11 16:56:25 +01:00
Jake Dallimore
8f8ae115bc
MDL-57357 auth: fix the remember username feature on login page
2016-12-23 10:42:01 +08:00
Juan Leyva
83e4dc1796
MDL-56092 core_auth: New WS core_auth_confirm_user
2016-10-04 09:50:32 +01:00
Damyon Wiese
e584e6ae46
MDL-55071 theme/output: PHPCS fixes for new theme branch
...
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Damyon Wiese
13075628ab
MDL-55071 core_auth: Move new login renderable to core_auth
...
Part of MDL-55071
2016-09-23 10:57:13 +01:00
Frederic Massart
d95db915ed
MDL-40934 core: Moving \core_auth\event\user_loggedin to \core
2013-07-30 16:41:20 +08:00
Frederic Massart
3b086e3094
MDL-32746 core: Implement new user_loggedin event
2013-07-23 11:36:35 +08:00