Add a Telegram factor option#252
Open
Dagefoerde wants to merge 8 commits intocatalyst:MOODLE_400_STABLEfrom
Open
Add a Telegram factor option#252Dagefoerde wants to merge 8 commits intocatalyst:MOODLE_400_STABLEfrom
Dagefoerde wants to merge 8 commits intocatalyst:MOODLE_400_STABLEfrom
Conversation
Show a help text on first set-up, describing how to allow the bot to send messages
Author
|
I have added help texts for admins and users, thus improving the UI overall. Also I have tested the plugin's functionality and believe that, in my opinion, it is production-ready now. Happy to hear your reviews. |
|
|
||
| // Logout button. | ||
| $url = new \moodle_url('\admin\tool\mfa\auth.php', ['logout' => 1]); | ||
| $url = new \moodle_url('/admin/tool/mfa/auth.php', ['logout' => 1]); |
Contributor
There was a problem hiding this comment.
I've fixed bug this in master please remove it from here - thanks nice catch :)
Contributor
|
hi @Dagefoerde this is looking pretty good. Setting up the bot as admin was smooth, and I really like the info bot which shows you your id. I did have some issues:
After that gets fixed I think this is good to land, good stuff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[Replaces #231]
This plugin lets users define their Telegram ID. Upon login, it generates a six-digit code and sends it to the defined Telegram ID. The plugin is a product of the #MootDACH20 DevCamp (https://moodlemootdach.org/course/view.php?id=13). @Laur0r and I have had a lot of fun adding this alternative to tool_mfa! 💯 Now that DevCamp is over, and some time has passed, I finally got around to do some more work. As there is a new secret manager API, I have created the plugin from scratch.
Still needs testing and a bit of improvement in the admin UI, so WIP.