mirror of
https://github.com/nextcloud/twofactor_gateway.git
synced 2026-04-25 09:05:55 +03:00
[GH-ISSUE #598] Hiding the one-time pass code using style approach in Signal #122
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#122
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 @oleua on GitHub (Nov 18, 2023).
Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/598
Hi! With the recent update in the bbernhard's Signal CLI REST API, dev branch it is possible to use styles:
My suggestion is to hide the one-time passcode from unintended eyes by hiding it under the cut, so it will look like this:
A user will click on blurred rectangle and see it.
For that I've made a small workaround to the code:
lib/Provider/AProvider.php:and
lib/Service/Gateway/Signal/Gateway.php:I understand that this is a workaround, and there should be a nicer solution, eg