twofactor_gateway icon indicating copy to clipboard operation
twofactor_gateway copied to clipboard

Some branding issues

Open euh2 opened this issue 4 years ago • 3 comments

I would like to have company/site name instead of Nextcloud in verification messages. Like l10n/de_DE.json, could be "%s is your ~~Nextcloud~~ {SITENAME-PLACEHOLDER} authentication code" Hope you guys will consider this feature!

euh2 avatar May 06 '20 16:05 euh2

Contributions are very welcome. This is a community app.

ChristophWurst avatar May 08 '20 13:05 ChristophWurst

If I want to change this feature, where would I start? @ChristophWurst

cdjenkins avatar Jun 12 '20 07:06 cdjenkins

You can access the instance name via \OCP\Defaults::getName()

See https://github.com/nextcloud/twofactor_totp/blob/165b0f09e9562c2f4c4f27f6c25ebe941f99533e/lib/Controller/SettingsController.php#L112 for reference.

ChristophWurst avatar Jun 15 '20 07:06 ChristophWurst