mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-11 03:42:16 +00:00
use SITE_NAME as issuer for 2fa
This commit is contained in:
parent
2f57db84a2
commit
03037d27f2
@ -286,7 +286,7 @@ class QRGeneratorView(View):
|
|||||||
|
|
||||||
otpauth_url = get_otpauth_url(
|
otpauth_url = get_otpauth_url(
|
||||||
accountname=self.request.user.username,
|
accountname=self.request.user.username,
|
||||||
issuer=get_current_site(self.request).name,
|
issuer=config.SITE_NAME,
|
||||||
secret=key,
|
secret=key,
|
||||||
digits=totp_digits())
|
digits=totp_digits())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user