mirror of
https://github.com/nextcloud/twofactor_gateway.git
synced 2026-04-25 09:05:55 +03:00
[GH-ISSUE #181] provide the Telegram bot name in the user configuration dialog #46
Labels
No labels
0. to triage
1. to develop
3. to review
blocked
bug
discussion
duplicate
enhancement
enhancement
gateway:signal
gateway:signal
gateway:signal
gateway:sms
gateway:telegram
hacktoberfest
help wanted
invalid
needs info
php
pull-request
question
technical debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/twofactor_gateway-nextcloud#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @j-ed on GitHub (Jan 7, 2019).
Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/181
Expected behavior
A user of the app should be able to setup e.g. the Telegram gateway without further involvement of the administrator, who has set-up the original gateway. Therefore the name of the already set-up Telegram bot should be displayed in the personal settings of the app configuration. The name should be provided as a hyperlink named
@my_nc_botwith the underlying urlhttp://telegram.me/my_nc_bot.(Most likely this can be handled similar to setup other gateways too)
The required name of the bot can prgrammatically be evaluated by forcing the following api request:
Current behavior
The name of the configured Telegram bot is now shown in the setup dialog and has be provided by the administrator in any way.
Steps to reproduce
Message gateway second-factor authconfiguration.Environment
Server Configuration
OS: Linux 3.16.50
Web server: Apache2 2.4.37
Database: MariaDB 10.2.19
PHP version: 7.2.13
Nextcloud version: 15.0.0
Twofactor_gateway app version: 0.11.0
Client Configuration
Browser: Mozilla Firefox 64.0
Operating system: Windows 10