Skip to content

Email factor can slow down login process #469

@dmitriim

Description

@dmitriim

As part of email factor geo information is requested here https://github.com/catalyst/moodle-tool_mfa/blob/MOODLE_400_STABLE/factor/email/renderer.php#L71
This uses core iplookup_find_location function that basically downloads details from an external server like $ipdata = download_file_content('http://www.geoplugin.net/json.gp?ip='.$ip);

If http://www.geoplugin.net is not responsive for some reason or slow, this can slow down login process.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions