1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-01 07:10:55 +00:00

use SITE_NAME as issuer for 2fa

This commit is contained in:
lian 2021-08-05 13:47:06 +08:00
parent 2f57db84a2
commit 03037d27f2

View File

@ -286,7 +286,7 @@ class QRGeneratorView(View):
otpauth_url = get_otpauth_url(
accountname=self.request.user.username,
issuer=get_current_site(self.request).name,
issuer=config.SITE_NAME,
secret=key,
digits=totp_digits())