Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/third #347

Merged
merged 2 commits into from
Sep 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/ASC.Core.Common/Notify/Telegram/TelegramHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private string GenerateToken(Guid userId)

private string GetLink(string token)
{
var tgProvider = (ITelegramLoginProvider)ConsumerFactory.GetByKey("Telegram");
var tgProvider = (ITelegramLoginProvider)ConsumerFactory.GetByKey("telegram");
var botname = tgProvider == null ? default : tgProvider.TelegramBotName;
if (string.IsNullOrEmpty(botname)) return null;

Expand Down
2 changes: 1 addition & 1 deletion common/ASC.Data.Backup.Core/BackupAjaxHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public Schedule GetSchedule()
{
var amazonSettings = CoreConfiguration.GetSection<AmazonS3Settings>();

var consumer = ConsumerFactory.GetByKey<DataStoreConsumer>("S3");
var consumer = ConsumerFactory.GetByKey<DataStoreConsumer>("s3");
if (!consumer.IsSet)
{
consumer["acesskey"] = amazonSettings.AccessKeyId;
Expand Down
16 changes: 8 additions & 8 deletions common/ASC.FederatedLogin/ProviderConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ namespace ASC.FederatedLogin
{
public static class ProviderConstants
{
public const string Twitter = "Twitter";
public const string Facebook = "Facebook";
public const string LinkedIn = "LinkedIn";
public const string Twitter = "twitter";
public const string Facebook = "facebook";
public const string LinkedIn = "linkedin";
public const string OpenId = "openid";
public const string Box = "Box";
public const string Google = "Google";
public const string Yandex = "Yandex";
public const string MailRu = "Mailru";
public const string VK = "Vk";
public const string Box = "box";
public const string Google = "google";
public const string Yandex = "yandex";
public const string MailRu = "mailru";
public const string VK = "vk";
public const string GosUslugi = "gosuslugi";
public const string Encryption = "e2e";
}
Expand Down
Loading