Settings: fixed tfaapp/confirm

This commit is contained in:
pavelbannov 2021-05-11 22:30:37 +03:00
parent c857751572
commit 198f1e4fe6

View File

@ -1415,7 +1415,7 @@ namespace ASC.Api.Settings
}
[Read("tfaapp/confirm")]
public string TfaConfirmUrl()
public object TfaConfirmUrl()
{
var user = UserManager.GetUsers(AuthContext.CurrentAccount.ID);
if (StudioSmsNotificationSettingsHelper.IsVisibleSettings() && StudioSmsNotificationSettingsHelper.Enable)// && smsConfirm.ToLower() != "true")