public static string PasswordReset(IResetPasswordTemplate template) { return(string.Format("{0}/auth/reset-password?i={1}&t={2}", ADMIN_ROOT, template.UserPasswordResetRequestId.ToString().Replace("-", string.Empty), Uri.EscapeDataString(template.Token))); }
/// <summary> /// Temporary version to fix issue with non-standard admin path. This /// will be refactored in the next update. /// </summary> public static string PasswordReset(IResetPasswordTemplate template, IConfiguration configuration) { return(PasswordReset(template, GetAdminPath(configuration))); }
public static string PasswordReset(IResetPasswordTemplate template) { return(PasswordReset(template, ADMIN_ROOT)); }