Fixe l'inscription, affiche un avatar par défaut
This commit is contained in:
@ -10,7 +10,7 @@ namespace Yavsc
|
||||
AuthorizePath = "~/authorize",
|
||||
TokenPath = "~/token", LoginPath = "~/signin",
|
||||
LogoutPath = "~/signout", UserInfoPath = "~/api/me",
|
||||
ApplicationAuthenticationSheme = "ServerCookie",
|
||||
ApplicationAuthenticationSheme = "ServerCookie",
|
||||
ExternalAuthenticationSheme= "ExternalCookie",
|
||||
CompanyInfoUrl = " https://societeinfo.com/app/rest/api/v1/company/json?registration_number={0}&key={1}",
|
||||
DefaultFactor = "Default",
|
||||
@ -26,11 +26,11 @@ namespace Yavsc
|
||||
GCMNotificationUrl = "https://gcm-http.googleapis.com/gcm/send",
|
||||
KeyProtectorPurpose = "OAuth.AspNet.AuthServer",
|
||||
UserFilesPath = "/UserFiles",
|
||||
AvatarsPath = "/Avatars",
|
||||
DefaultAvatar = "/images/Users/icon_user.png",
|
||||
AnonAvatar = "/images/Users/icon_anon_user.png";
|
||||
AvatarsPath = "/Avatars",
|
||||
DefaultAvatar = "/images/Users/icon_user.png",
|
||||
AnonAvatar = "/images/Users/icon_anon_user.png";
|
||||
public static readonly long DefaultFSQ = 1024*1024*500;
|
||||
|
||||
|
||||
public static readonly Scope[] SiteScopes = {
|
||||
new Scope { Id = "profile", Description = "Your profile informations" },
|
||||
new Scope { Id = "book" , Description ="Your booking interface"},
|
||||
@ -43,7 +43,7 @@ namespace Yavsc
|
||||
};
|
||||
|
||||
public const string SshHeaderKey = "SSH";
|
||||
|
||||
|
||||
private static readonly string[] GoogleScopes = { "openid", "profile", "email" };
|
||||
public static readonly string[] GoogleCalendarScopes =
|
||||
{ "openid", "profile", "email", "https://www.googleapis.com/auth/calendar" };
|
||||
|
Reference in New Issue
Block a user